From 2e5084381273ab93e6d9eb89056fb3f28e2dd085 Mon Sep 17 00:00:00 2001 From: Nicole L Date: Thu, 26 Jun 2025 12:17:32 -0700 Subject: [PATCH] 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`. --- src/SUMMARY.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index b637a407..709f91d3 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -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) ---