]> git.lizzy.rs Git - rust.git/commitdiff
Fix docs
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Tue, 22 Nov 2022 13:55:37 +0000 (13:55 +0000)
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Thu, 15 Dec 2022 16:48:29 +0000 (16:48 +0000)
compiler/rustc_lint_defs/src/builtin.rs

index 111e6b961543e6105ee09e762a85c98450b68697..848906e29d5b189172bb1e18ad67d266d196765a 100644 (file)
     ///     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}}