[rust-dev] Syntax sugar: Vec Rc RefCell Box Foo -> Vec<Rc<RefCell<Box<Foo>>>>

comex comexk at gmail.com
Mon Jun 30 03:20:01 PDT 2014


On Sun, Jun 29, 2014 at 12:48 AM, Benjamin Herr <ben at 0x539.de> wrote:
> In parsing a path, if a path segment is immediately followed by an
> identifier, start parsing another type right away and use it as the only
> element of the type parameter list for the current path segment.

For what it's worth, I was going to propose essentially exactly this,
but as always I'm very lazy.  I think it makes sense, since there are
so many single-parameter generics.


More information about the Rust-dev mailing list