mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
tidy up!
This commit is contained in:
@@ -1912,8 +1912,8 @@ fn bar<'short, 'long>(c: Foo<'short>, l: &'long isize) {
|
||||
```
|
||||
|
||||
In this example, we tried to set a value with an incompatible lifetime to
|
||||
another one (`'long` is unrelated to `'short`). We can solve this issue in two different
|
||||
ways:
|
||||
another one (`'long` is unrelated to `'short`). We can solve this issue in
|
||||
two different ways:
|
||||
|
||||
Either we make `'short` live at least as long as `'long`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user