Meanings
plural turbofishes
- computingA syntactic element in Rust, ::<>, with arguments between < and >, that specifies the generic arguments of a function in an expression.
For static method calls, you can supply the type parameter explicitly using the turbofish ::<> notation:
2017 November 21, Jim Blandy, Jason Orendorff, Programming Rust: Fast, Safe Systems Development, "O'Reilly Media, Inc.", →ISBN2 more examples
The turbofish operator in generic functions appears right after the function name and before the parenthesis.
2019 January 31, Rahul Sharma, Vesa Kaihlavirta, Mastering Rust, Packt Publishing Ltd, →ISBN, page 122You can add a turbofish to a function call with the syntax function::<Type>(). For example, collect::<Vec<MyType>>().
2021 June 30, Herbert Wolverson, Hands-on Rust, Pragmatic Bookshelf, →ISBN
Origin
From turbo- + fish; coined by Anna Harren in 2015, originally in jest, later adopted by official documentation.
Full word history & related roots →Cite this entry
turbofish. (n.d.). In WatkinsX Dictionary. Retrieved November 3, 2026, from https://dictionary.watkinsx.com/word/turbofish
“turbofish.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/turbofish. Accessed November 3, 2026.
WatkinsX Dictionary, s.v. “turbofish,” accessed November 3, 2026, https://dictionary.watkinsx.com/word/turbofish.
Source: turbofish on Wiktionary, CC BY-SA 4.0.