Because you need to make b mutable to change its value. Rust's variable bindings are immutable by default. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev
- [rust-dev] type annotaion of &mut Taku Masa
- Re: [rust-dev] type annotaion of &mut Steve Klabnik
- Re: [rust-dev] type annotaion of &mut Tim Kuehn