Skip to content

Commit deadf07

Browse files
fix trailing ]
1 parent de3e95b commit deadf07

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

compiler/rustc_error_codes/src/error_codes/E0311.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn with_restriction<'a, T: 'a>(x: &'a ()) -> &'a () {
1616
Why doesn't this code compile? It helps to look at the lifetime bounds that are
1717
automatically adding by the compiler. For more details see the Rust
1818
Documentation for Lifetime Elision:
19-
https://doc.rust-lang.org/reference/lifetime-elision.html]
19+
https://doc.rust-lang.org/reference/lifetime-elision.html.
2020

2121
There are two lifetimes being passed into the `no_restriction()` function: one
2222
associated with the generic type `T` parameter and the other with the input

0 commit comments

Comments
 (0)