From 26979c9542c276cb47e24bec5017b521b337dfd8 Mon Sep 17 00:00:00 2001 From: tomf <tom@tom-fitzhenry.me.uk> Date: Sat, 24 Aug 2024 04:48:57 +1000 Subject: [PATCH] Move const before static (#2305) Motivation: * const usecases are likely more familiar than static usecases * currently the static slide refers `const`, before it's introduced Background: static and const were previously on the same slide, with const being introduced first ( https://github.com/google/comprehensive-rust/pull/1881 ) but when they were split, static was moved first. --- src/SUMMARY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index b05f6ade..979c52b6 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -63,8 +63,8 @@ - [Named Structs](user-defined-types/named-structs.md) - [Tuple Structs](user-defined-types/tuple-structs.md) - [Enums](user-defined-types/enums.md) - - [Static](user-defined-types/static.md) - [Const](user-defined-types/const.md) + - [Static](user-defined-types/static.md) - [Type Aliases](user-defined-types/aliases.md) - [Exercise: Elevator Events](user-defined-types/exercise.md) - [Solution](user-defined-types/solution.md)