rustlings/exercises/14_generics
Tuan-Dat Tran a3e2bc985c Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2024-09-01 19:20:40 +02:00
..
README.md Initial commit 2024-09-01 19:20:40 +02:00
generics1.rs Initial commit 2024-09-01 19:20:40 +02:00
generics2.rs Initial commit 2024-09-01 19:20:40 +02:00

README.md

Generics

Generics is the topic of generalizing types and functionalities to broader cases. This is extremely useful for reducing code duplication in many ways, but can call for some rather involved syntax. Namely, being generic requires taking great care to specify over which types a generic type is actually considered valid. The simplest and most common use of generics is for type parameters.

Further information