You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-07-14 18:14:29 +02:00
Move closures section to before libstd sections (#2789)
A lot of stuff in the standard library makes use of closures, so I think it makes sense to cover those first so that we can more easily reference libstd functions like `map` and `filter`.
This commit is contained in:
@ -118,6 +118,12 @@
|
||||
- [`HashMap`](std-types/hashmap.md)
|
||||
- [Exercise: Counter](std-types/exercise.md)
|
||||
- [Solution](std-types/solution.md)
|
||||
- [Closures](closures.md)
|
||||
- [Closure Syntax](closures/syntax.md)
|
||||
- [Capturing](closures/capturing.md)
|
||||
- [Closure Traits](closures/traits.md)
|
||||
- [Exercise: Log Filter](closures/exercise.md)
|
||||
- [Solution](closures/solution.md)
|
||||
- [Standard Library Traits](std-traits.md)
|
||||
- [Comparisons](std-traits/comparisons.md)
|
||||
- [Operators](std-traits/operators.md)
|
||||
@ -127,12 +133,6 @@
|
||||
- [`Default`, struct update syntax](std-traits/default.md)
|
||||
- [Exercise: ROT13](std-traits/exercise.md)
|
||||
- [Solution](std-traits/solution.md)
|
||||
- [Closures](closures.md)
|
||||
- [Closure Syntax](closures/syntax.md)
|
||||
- [Capturing](closures/capturing.md)
|
||||
- [Closure Traits](closures/traits.md)
|
||||
- [Exercise: Log Filter](closures/exercise.md)
|
||||
- [Solution](closures/solution.md)
|
||||
|
||||
---
|
||||
|
||||
|
Reference in New Issue
Block a user