On 01/31/2014 09:43 PM, Eric Summers wrote:
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.
While we're talking about syntax, hasn't anybody noticed that prefix pointer-designator and dereference operators are crazy, especially for otherwise left-to-right declaration order? C++ had no choice, but Rust can make the sensible choice: the only one that Pascal got right. (That used the caret, also an eerily apt choice.) Nathan Myers _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
