On 7/16/12 10:53 AM, Matt Brubeck wrote:
One bit of syntax still seems tricky.  If "unique pointer to T" is
spelled ~T then it seems like the special case "unique pointer to fn()"
should be spelled ~fn() instead of fn~().  I don't know whether this can
be changed without causing other problems for the grammar.  If it can,
it would make things that much easier to remember (for me, at least).

It'll be ~fn. See Niko's blog post here:

http://smallcultfollowing.com/babysteps/blog/2012/07/12/fn-types/

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

Reply via email to