Skip to content

Commit

Permalink
Merge pull request #1180 from peter-kehl/1179
Browse files Browse the repository at this point in the history
For #1179
  • Loading branch information
marioidival committed Apr 22, 2019
2 parents 1ff0f8e + ac72c4f commit 4db7780
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 4db7780

Please sign in to comment.