Skip to content

Glossary: Rust Beyond the Basics

turbofish

Also written: ::<>

The `::<Type>` syntax after a function name that tells Rust which type to use, as in `parse::<u32>()` or `collect::<Vec<_>>()`.

Where the book teaches it

Related terms

genericcollect