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

Reply via email to