> I just found out that the following also works: > > let test = getOneOfThese::<Foo>();
This form is unlikely to continue working in the future. Instead, a new syntax will be introduced. See this blog post for more details: http://blog.pnkfx.org/blog/2013/04/22/designing-syntax-for-associated-items-in-rust/ Niko _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev