From a9e4176bc868bd0d5b1f9a4dcff5aed5c22ad3f8 Mon Sep 17 00:00:00 2001 From: koka Date: Mon, 14 Nov 2022 22:55:50 +0900 Subject: [PATCH] Specify language of code comment to generate document --- compiler/rustc_lint/src/let_underscore.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/rustc_lint/src/let_underscore.rs b/compiler/rustc_lint/src/let_underscore.rs index 78f355ec3d0..c8939256bbb 100644 --- a/compiler/rustc_lint/src/let_underscore.rs +++ b/compiler/rustc_lint/src/let_underscore.rs @@ -11,7 +11,8 @@ /// scope. /// /// ### Example - /// ``` + /// + /// ```rust /// struct SomeStruct; /// impl Drop for SomeStruct { /// fn drop(&mut self) {