Rust
📄️ Arrays & Slices
Array
📄️ Closures
Closure is a function-like construct that can capture variables from its surrounding environment. Closures are lightweight and flexible, enabling you to write concise code that can encapsulate context from where they are defined.
📄️ Generics & Traits
By using Generics and Traits we can leverage their combined power to write efficient, reusable, and type-safe code.
📄️ Iterators
The iterator pattern allows you to perform some task on a sequence of items in turn. Iterators provide a way to traverse, transform, or consume elements efficiently without needing to manually manage indices or loops.
📄️ Strings vs &str
String
📄️ Tests
Tests are Rust functions that verify that the non-test code is functioning in the expected manner. The bodies of test functions typically perform these three actions:
📄️ Run Code Simultaneously
* Rust provides built-in support for concurrent programming through its standard library module std::thread.
🗃️ Rustlings Exercise
24 items