Skip to content

/tag/rust/

Rust

1 post

Rust

Anatomy of a generic function in Rust

It can handle different input types and thus it's called a generic function. The generic type is represented by the capital letter T in this example. T is an arbitrary placeholder. It could be have been another letter, X, Y or V...

2 min read

esc
nothing found.
searching…
↑↓ navigate↵ open