3 ms·
> * Passing in explicit generic type arguments for a function requires an extra :: for seemingly no reason. There is a very good reason for this. Behold, the B
by q3k 4y ago
> * Passing in explicit generic type arguments for a function requires an extra :: for seemingly no reason.
There is a very good reason for this. Behold, the Bastion of the Turbofish.
https://github.com/rust-lang/rust/blob/master/tests/ui/parser/bastion-of-the-turbofish.rs https://github.com/rust-lang/rust/blob/master/tests/ui/parse...
- loeg 4y agoThat is not a good reason as far as end users are concerned.