[rust-dev] "let mut" <-> "let !"

Eric Summers eric.summers at me.com
Fri Jan 31 21:43:29 PST 2014

I realized my example didn’t make sense for pattern matching.

I think I like the mut syntax in let expressions, but I still like shoving the pointer next the type like I would do in C/C++ for something like fn drop(&mut self) {}.  

I guess it is somewhat rare to use mutable pointers as function parameters, so maybe not a big deal.

Sorry for extending the thread.


More information about the Rust-dev mailing list