4 ms·
You can see the trade-off made here in Rust. When parsing a type, Vec<i32> is no problem, but the constructor of that type (in an expression!) must be written V
by lpghatguy 6y ago
You can see the trade-off made here in Rust. When parsing a type, Vec<i32> is no problem, but the constructor of that type (in an expression!) must be written Vec::<i32>::new().
This operator is affectionately called the "turbofish" and can often be avoided because of very good type inference.