[rust-dev] Futures in Rust

Daniel Micay danielmicay at gmail.com
Wed Jan 29 14:06:41 PST 2014

On Wed, Jan 29, 2014 at 5:03 PM, Vadim <vadimcn at gmail.com> wrote:
> But maybe Rust type system could grow a new type of borrow that prevents all
> object access while it is in scope, similarly to how iterators prevent
> mutation of the container being iterated?
> Vadim

An `&mut` borrow will prevent reads not through that borrow.

More information about the Rust-dev mailing list