I don't have any particular intuition of what's the best syntax we should use 
there, but I agree that the current one is awfully confusing.

Dave

On Oct 24, 2011, at 1:22 AM, Marijn Haverbeke wrote:

> At least two people have confused @T with a boxed type in the past
> weeks. Even me, who really should know better at this point,
> occasionally misinterpret some code because of the similarity between
> the two. The same probably goes for ~T.
> 
> I think we should change the syntax. It can be a little more verbose,
> I think, as long as it doesn't resemble other type-related syntax.
> 
> I'd also support making 'shared' the default kind for type parameters.
> It is usually what you want.
> 
> Proposal: 'pinned T' and 'unique T' for pinned/unique type params. 'T'
> for shared ones.
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev

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

Reply via email to