rustlings/exercises/14_generics
2024-07-08 16:00:12 +02:00
..
generics1.rs generics1 rewrite and solution 2024-06-27 02:00:08 +02:00
generics2.rs generics2 solution 2024-06-27 02:25:11 +02:00
README.md Remove stable from book links 2024-07-08 16:00:12 +02:00

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