Skip to content

Commit 5dc2955

Browse files
committed
Rollup merge of rust-lang#29013 - chrisccerami:fix_broken_lifetime_elision_link, r=alexcrichton
This link was added in rust-lang#28842 but doesn't work at https://doc.rust-lang.org/nightly/book/lifetimes.html. What works in my markdown preview doesn't work live, and vice versa.
2 parents cdefef2 + 42e0b8b commit 5dc2955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ associated with it, but the compiler lets you elide (i.e. omit, see
7474
["Lifetime Elision"][lifetime-elision] below) them in common cases.
7575
Before we get to that, though, let’s break the explicit example down:
7676

77-
[lifetime-elision]: #user-content-lifetime-elision
77+
[lifetime-elision]: #lifetime-elision
7878

7979
```rust,ignore
8080
fn bar<'a>(...)

0 commit comments

Comments
 (0)