Skip to content

Commit 127202d

Browse files
authored
Update trait-bounds.md (#2295)
We are going to talk about `impl Trait` in the very next slide. Let's don't duplicate it here and complicate the flow?
1 parent 56ae649 commit 127202d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generics/trait-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ minutes: 8
77
When working with generics, you often want to require the types to implement
88
some trait, so that you can call this trait's methods.
99

10-
You can do this with `T: Trait` or `impl Trait`:
10+
You can do this with `T: Trait`:
1111

1212
```rust,editable
1313
fn duplicate<T: Clone>(a: T) -> (T, T) {

0 commit comments

Comments
 (0)