diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-15 01:40:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-15 01:40:45 +0100 |
| commit | da2beab3f67af6fd0e1ff11bd1007226800c08da (patch) | |
| tree | 5d61dfbeb29095954b9468f20c6842e16a702c9b | |
| parent | aea4c0c1b8de16e8fbe035ab71593e8939b8d9f7 (diff) | |
| parent | a9e4176bc868bd0d5b1f9a4dcff5aed5c22ad3f8 (diff) | |
| download | rust-da2beab3f67af6fd0e1ff11bd1007226800c08da.tar.gz rust-da2beab3f67af6fd0e1ff11bd1007226800c08da.zip | |
Rollup merge of #104403 - koka831:lint-doc, r=Dylan-DPC
Specify language of code comment to generate document Fix `let_underscore_drop` comment https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#example-7
| -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) { |
