Skip to content

Commit ce9a136

Browse files
committed
Remove warning not applicable in Rust 1.26+
1 parent e9d9afa commit ce9a136

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/trait-bounds.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@ fn call_on_ref_zero<F>(f: F) where F: for<'a> Fn(&'a i32) {
134134
}
135135
```
136136

137-
<div class="warning">
138-
139-
***Warning:*** lifetime bounds are allowed on lifetimes in a `for` binder, but
140-
have no effect: `for<'a, 'b: 'a>` is no different to `for<'a, 'b>`.
141-
142-
</div>
143-
144137
[LIFETIME_OR_LABEL]: tokens.html#lifetimes-and-loop-labels
145138
[_TraitPath_]: paths.html
146139
[`Sized`]: special-types-and-traits.html#sized

0 commit comments

Comments
 (0)