[rust-dev] Presentation of our vector/function/trait types
pwalton at mozilla.com
Mon Jul 16 11:23:19 PDT 2012
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:
More information about the Rust-dev