3 ms·
It is the opening of a generic type parameter. In this case ArrayVec[1] takes two, a type T for the element type and a const for the maximum size of the ArrayV
by stusmall 5y ago
It is the opening of a generic type parameter. In this case ArrayVec[1] takes two, a type T for the element type and a const for the maximum size of the ArrayVec. The use of ::<> is affectionately known as "the turbofish" and is a way to give the compiler type information when it can't infer it.
1. https://docs.rs/arrayvec/0.7.1/arrayvec/struct.ArrayVec.html https://docs.rs/arrayvec/0.7.1/arrayvec/struct.ArrayVec.html