From 175768c379535ce6394931b53382218b8794af98 Mon Sep 17 00:00:00 2001 From: andriyDev Date: Sun, 26 Jan 2025 15:04:14 -0800 Subject: [PATCH] Move the "Trait Bounds" slide right after "Generic Functions". The "Generic Data Types" slide now uses trait bounds, which makes it very confusing to explain. (e.g., "ignore this trait bound stuff while I explain why we need to stutter to describe the generic args on an impl block"). Also in the "Generic Functions" slide, the speaker notes talks about how we essentially need to treat the generic args as black boxes - this is probably more important to address then talking about all the ways you can make things generic. --- src/SUMMARY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 3f620c18afa7..8a7f68ce9145 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -97,9 +97,9 @@ - [Solution](methods-and-traits/solution.md) - [Generics](generics.md) - [Generic Functions](generics/generic-functions.md) + - [Trait Bounds](generics/trait-bounds.md) - [Generic Data Types](generics/generic-data.md) - [Generic Traits](generics/generic-traits.md) - - [Trait Bounds](generics/trait-bounds.md) - [`impl Trait`](generics/impl-trait.md) - [`dyn Trait`](generics/dyn-trait.md) - [Exercise: Generic `min`](generics/exercise.md)