Skip to content

Commit 62fb4e0

Browse files
lcnrehuss
authored andcommitted
parameters
1 parent a707381 commit 62fb4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trait-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The type parameter `T` is required to outlive `'a` for the type `&'a T` to be we
167167
This is inferred because the function signature contains the type `&'a T` which is
168168
only valid if `T: 'a` holds.
169169

170-
Rust adds implied bounds for all inputs and outputs of functions. Inside of `requires_t_outlives_a`
170+
Rust adds implied bounds for all parameters and outputs of functions. Inside of `requires_t_outlives_a`
171171
you can assume `T: 'a` to hold even if you don't explicitly specify this:
172172
```rust
173173
fn requires_t_outlives_a_not_implied<'a, T: 'a>() {}

0 commit comments

Comments
 (0)