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.
-Eric
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev