Skip to content

Commit bb9c750

Browse files
committed
Remove warning not applicable in Rust 1.26+
1 parent b685a07 commit bb9c750

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
@@ -133,13 +133,6 @@ fn call_on_ref_zero<F>(f: F) where F: for<'a> Fn(&'a i32) {
133133
}
134134
```
135135

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

0 commit comments

Comments
 (0)