From 2b2170384d511a613ddd6a4298feab0ed3a5f6ec Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Tue, 22 Nov 2022 13:55:37 +0000 Subject: [PATCH] Fix docs --- compiler/rustc_lint_defs/src/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 111e6b961543..848906e29d5b 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}}