News for hackers. Stuff that matters.
Re:Bastion of the Turbofish (2020) by edflsafoiewq on Friday February 05, 2021 @12:50AM (#26033538)
Specifically it's the ::<u8> part. It's only used when writing type parameters in an expression.

    let x: Vec<u8> = vec![]; // spelled Vec<u8> in "type context"
    let x = Vec::<u8>::new(); // spelled Vec::<u8> in "expression context"
Re:Bastion of the Turbofish (2020) by scott_s on Friday February 05, 2021 @08:51AM (#26036272)
Yes, and googling around for this rule is what landed me on this epic poem and test.