You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rustlings/exercises/generics
x-hgg-x 179a75a68d
fix: Include exercises folder in the project structure behind a feature (#917)
closes #859
closes #913
closes #942
2 years ago
..
README.md docs(exercises): updated all exercises readme files 3 years ago
generics1.rs fix: add hints to generics1 and generics2 exercises 3 years ago
generics2.rs fix: add hints to generics1 and generics2 exercises 3 years ago
generics3.rs chore: Removed extra whitespaces 4 years ago
mod.rs fix: Include exercises folder in the project structure behind a feature (#917) 2 years ago

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 rather involving 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