mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
mem_forget: fix syntax error in code sample
This commit is contained in:
parent
601cc9d2c5
commit
c492818110
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ use crate::utils::{match_def_path, opt_def_id, paths, span_lint};
|
|||
///
|
||||
/// **Example:**
|
||||
/// ```rust
|
||||
/// mem::forget(Rc::new(55)))
|
||||
/// mem::forget(Rc::new(55))
|
||||
/// ```
|
||||
declare_clippy_lint! {
|
||||
pub MEM_FORGET,
|
||||
|
|
Loading…
Reference in a new issue