Skip to content

Commit 8a2f06e

Browse files
committed
Fix formatting
1 parent afcbfc0 commit 8a2f06e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/lifetimes/borrow-one.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ fn main() {
7070

7171
# More to Explore
7272

73-
- The "help" message in the error notes that we can add a lifetime bound `'b:
74-
'a` to say that `'b` will live at least as long as `'a`, which would then
75-
allow us to return `query`. This is an example of lifetime "variance", which
76-
allows us to return a longer lifetime where a shorter one is expected.
73+
- The "help" message in the error notes that we can add a lifetime bound
74+
`'b:
75+
'a` to say that `'b` will live at least as long as `'a`, which would
76+
then allow us to return `query`. This is an example of lifetime "variance",
77+
which allows us to return a longer lifetime where a shorter one is expected.
7778

7879
- We can do something similar by returning a `'static` lifetime, e.g. a
7980
reference to a `static` variable. The `'static` lifetime is guaranteed to be

0 commit comments

Comments
 (0)