mirror of https://github.com/rust-lang/reference
Update src/trait-bounds.md
Co-authored-by: Ryan Scheel <Ryan.havvy@gmail.com>
This commit is contained in:
parent
c0c23b844e
commit
a707381666
|
@ -158,7 +158,7 @@ fn call_on_ref_zero<F>(f: F) where F: for<'a> Fn(&'a i32) {
|
|||
|
||||
## Implied bounds
|
||||
|
||||
Lifetime bounds required for types to be well-formed are sometimes inferred by the compiler.
|
||||
Lifetime bounds required for types to be well-formed are sometimes inferred.
|
||||
|
||||
```rust
|
||||
fn requires_t_outlives_a<'a, T>(x: &'a T) {}
|
||||
|
|
Loading…
Reference in New Issue