Right off the bat, I would say that would be prettier if we had argument

auto-borrowing


I'm again pretty nervous about this, because this is one of the
much-maligned features of C++ references.


*Why* is it maligned, though?

and if closure

assignment was in scope to be captured inside the closure itself

(wouldn't have to do dummy init of the B var).


This would prevent the useful `let mut foo = foo` pattern.


How so?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to