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
This commit is contained in:
commit
da2beab3f6
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@ declare_lint! {
|
|||
/// scope.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```
|
||||
///
|
||||
/// ```rust
|
||||
/// struct SomeStruct;
|
||||
/// impl Drop for SomeStruct {
|
||||
/// fn drop(&mut self) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue