rustlings

solving rustlings ft. dracuxan
git clone [email protected]:dracuxan/rustlings.git
Log | Files | Refs

README.md (575B)


      1 # Generics
      2 
      3 Generics is the topic of generalizing types and functionalities to broader cases.
      4 This is extremely useful for reducing code duplication in many ways, but can call for some rather involved syntax.
      5 Namely, being generic requires taking great care to specify over which types a generic type is actually considered valid.
      6 The simplest and most common use of generics is for type parameters.
      7 
      8 ## Further information
      9 
     10 - [Generic Data Types](https://doc.rust-lang.org/book/ch10-01-syntax.html)
     11 - [Bounds](https://doc.rust-lang.org/rust-by-example/generics/bounds.html)