diff options
| author | koka <koka.code@gmail.com> | 2022-11-14 22:55:50 +0900 |
|---|---|---|
| committer | koka <koka.code@gmail.com> | 2022-11-14 22:55:50 +0900 |
| commit | a9e4176bc868bd0d5b1f9a4dcff5aed5c22ad3f8 (patch) | |
| tree | 06fe6dc7f12a217abbbad621710573e3367398ba | |
| parent | 96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef (diff) | |
| download | rust-a9e4176bc868bd0d5b1f9a4dcff5aed5c22ad3f8.tar.gz rust-a9e4176bc868bd0d5b1f9a4dcff5aed5c22ad3f8.zip | |
Specify language of code comment to generate document
| -rw-r--r-- | compiler/rustc_lint/src/let_underscore.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ declare_lint! { /// scope. /// /// ### Example - /// ``` + /// + /// ```rust /// struct SomeStruct; /// impl Drop for SomeStruct { /// fn drop(&mut self) { |
