about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-11-22 13:55:37 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-15 16:48:29 +0000
commit2b2170384d511a613ddd6a4298feab0ed3a5f6ec (patch)
treece486a14d1dcfb102fc429c019f63fafffab0d43 /compiler
parentb05c790fd6ac0ad050ead3e7ae956729fcf7e0db (diff)
downloadrust-2b2170384d511a613ddd6a4298feab0ed3a5f6ec.tar.gz
rust-2b2170384d511a613ddd6a4298feab0ed3a5f6ec.zip
Fix docs
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index 111e6b96154..848906e29d5 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -1031,7 +1031,7 @@ declare_lint! {
     ///     let y = x.as_ptr() as *const u32;
     ///     *y; // the address of a `u8` array is unknown and thus we don't know if
     ///     // it is aligned enough for reading a `u32`.
-    /// }
+    /// };
     /// ```
     ///
     /// {{produces}}