1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 14:31:15 +02:00

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.
This commit is contained in:
andriyDev 2025-01-29 17:34:45 -08:00 committed by GitHub
parent deae2e2d53
commit 347de61d13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)