From 347de61d13f7a75506cd2639c216cc1afc1995c5 Mon Sep 17 00:00:00 2001 From: andriyDev Date: Wed, 29 Jan 2025 17:34:45 -0800 Subject: [PATCH] Move the "Trait Bounds" slide right after "Generic Functions". (#2589) 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 3f620c18..8a7f68ce 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)