>> Maybe it makes sense move mut their? Or distinguish mut as a variable >> qualifier vs const as a propery of type? > The way it is implemented in Rust is necessary for memory safety.
Are there any articles on this? I'd like to know more. :) On Wed, May 28, 2014 at 5:48 PM, Patrick Walton <[email protected]> wrote: > On 5/28/14 5:38 PM, Oleg Eterevsky wrote: >> >> 7. The usage of mut is a bit confusing. It is supposed to be used as a >> qualifier for a variable, but it quickly becomes a part of the type, >> when you define functions like >> fn test(something: &mut Something) >> Maybe it makes sense move mut their? Or distinguish mut as a variable >> qualifier vs const as a propery of type? > > > The way it is implemented in Rust is necessary for memory safety. > > Patrick > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
