Skip to content

Commit 347de61

Browse files
authored
Move the "Trait Bounds" slide right after "Generic Functions". (google#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.
1 parent deae2e2 commit 347de61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797
- [Solution](methods-and-traits/solution.md)
9898
- [Generics](generics.md)
9999
- [Generic Functions](generics/generic-functions.md)
100+
- [Trait Bounds](generics/trait-bounds.md)
100101
- [Generic Data Types](generics/generic-data.md)
101102
- [Generic Traits](generics/generic-traits.md)
102-
- [Trait Bounds](generics/trait-bounds.md)
103103
- [`impl Trait`](generics/impl-trait.md)
104104
- [`dyn Trait`](generics/dyn-trait.md)
105105
- [Exercise: Generic `min`](generics/exercise.md)

0 commit comments

Comments
 (0)