On 01/31/2013 09:58 PM, Dean Thompson wrote:
On 1/31/13 12:56 PM, "Malte Schütze" <malte.schue...@fgms.de> wrote:
I really prefer Foo{'lt}<X,Y> over Foo'lt<X,Y> - the former makes it
visually clearer to me where each section of the declaration starts and
ends.
The non-curly choice is Foo<'lt,X,Y>.  How does that grab you?

Dean

I'm worried that it might be confusing to read when it becomes longer. Foo<'lt,X,Y> still is readable, but Foo<'lt,'xy,X,Y,Z> isn't anymore. Having it in curly braces (Foo{'lt,'xy}<X,Y,Z>) breaks it down in smaller parts and makes it easier to understand in my opinion.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to