From 4dfc11d74ab02ac5765ae5d08fb750c91f4744b4 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Fri, 2 Oct 2026 21:53:51 -0500 Subject: rustlings: move to rust/ --- rust/rustlings/exercises/14_generics/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rust/rustlings/exercises/14_generics/README.md (limited to 'rust/rustlings/exercises/14_generics/README.md') diff --git a/rust/rustlings/exercises/14_generics/README.md b/rust/rustlings/exercises/14_generics/README.md new file mode 100644 index 0000000..0c8c8cb --- /dev/null +++ b/rust/rustlings/exercises/14_generics/README.md @@ -0,0 +1,11 @@ +# 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 + +- [Generic Data Types](https://doc.rust-lang.org/book/ch10-01-syntax.html) +- [Bounds](https://doc.rust-lang.org/rust-by-example/generics/bounds.html) -- cgit v1.2.3