docs(exercises): updated all exercises readme files

all exercises readme files now have a unified structure and a description
This commit is contained in:
Zerotask
2021-04-23 19:54:31 +02:00
parent 54804e344d
commit 249ad44cc0
20 changed files with 85 additions and 54 deletions

View File

@@ -1,8 +1,11 @@
### Generics
# Generics
In this section you'll learn about saving yourself many lines of code with 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.
### Book Sections
## Further information
- [Generic Data Types](https://doc.rust-lang.org/stable/book/ch10-01-syntax.html)
- [Bounds](https://doc.rust-lang.org/rust-by-example/generics/bounds.html)