Skip to content

Commit 2e50843

Browse files
authored
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`.
1 parent c253b33 commit 2e50843

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/SUMMARY.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@
118118
- [`HashMap`](std-types/hashmap.md)
119119
- [Exercise: Counter](std-types/exercise.md)
120120
- [Solution](std-types/solution.md)
121+
- [Closures](closures.md)
122+
- [Closure Syntax](closures/syntax.md)
123+
- [Capturing](closures/capturing.md)
124+
- [Closure Traits](closures/traits.md)
125+
- [Exercise: Log Filter](closures/exercise.md)
126+
- [Solution](closures/solution.md)
121127
- [Standard Library Traits](std-traits.md)
122128
- [Comparisons](std-traits/comparisons.md)
123129
- [Operators](std-traits/operators.md)
@@ -127,12 +133,6 @@
127133
- [`Default`, struct update syntax](std-traits/default.md)
128134
- [Exercise: ROT13](std-traits/exercise.md)
129135
- [Solution](std-traits/solution.md)
130-
- [Closures](closures.md)
131-
- [Closure Syntax](closures/syntax.md)
132-
- [Capturing](closures/capturing.md)
133-
- [Closure Traits](closures/traits.md)
134-
- [Exercise: Log Filter](closures/exercise.md)
135-
- [Solution](closures/solution.md)
136136

137137
---
138138

0 commit comments

Comments
 (0)