about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorMatthew Kelly <matthew.kelly2@gmail.com>2022-08-27 14:36:17 -0400
committerMatthew Kelly <matthew.kelly2@gmail.com>2022-08-27 14:36:17 -0400
commitdeadf071edf4b397523739e41b6006ee278d5341 (patch)
tree3b6d10e0982ed9cf44df78a44c8cdc19ab4c4ead /compiler/rustc_error_codes/src
parentde3e95b56c3c1af339a6c13dc8875599e553aa98 (diff)
downloadrust-deadf071edf4b397523739e41b6006ee278d5341.tar.gz
rust-deadf071edf4b397523739e41b6006ee278d5341.zip
fix trailing `]`
Diffstat (limited to 'compiler/rustc_error_codes/src')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0311.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0311.md b/compiler/rustc_error_codes/src/error_codes/E0311.md
index b1fa61d365c..bc75a1f7f5e 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0311.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0311.md
@@ -16,7 +16,7 @@ fn with_restriction<'a, T: 'a>(x: &'a ()) -> &'a () {
 Why doesn't this code compile? It helps to look at the lifetime bounds that are
 automatically adding by the compiler. For more details see the Rust
 Documentation for Lifetime Elision:
-https://doc.rust-lang.org/reference/lifetime-elision.html]
+https://doc.rust-lang.org/reference/lifetime-elision.html.
 
 There are two lifetimes being passed into the `no_restriction()` function: one
 associated with the generic type `T` parameter and the other with the input