Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-lyons-kehl authored Apr 20, 2019
1 parent 1ff0f8e commit ac72c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scope/lifetime/lifetime_bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ but `+` is the same. Note how the following read:
2. `T: Trait + 'a`: Type `T` must implement trait `Trait` and *all* references
in `T` must outlive `'a`.

The example below shows the above syntax in action:
The example below shows the above syntax in action used after keyword `where`:

```rust,editable
use std::fmt::Debug; // Trait to bound with.
Expand Down Expand Up @@ -50,4 +50,4 @@ fn main() {

[generics]: generics.html
[bounds]: generics/bounds.html
[multibounds]: generics/multi_bounds.html
[multibounds]: generics/multi_bounds.html

0 comments on commit ac72c4f

Please sign in to comment.