On Wed, May 15, 2013 at 12:29 PM, Patrick Walton <pwal...@mozilla.com> wrote: > > You can't specify type parameters explicitly here; instead you need to use > `let test: Foo = ...`. > > I just found out that the following also works:
let test = getOneOfThese::<Foo>(); Is one style preferred over the other / considered more idiomatic? Thanks -- Ziad
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev