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}}