Skip to content

Commit

Permalink
Merge pull request #3314 from matthiaskrgr/mem_forget_sample
Browse files Browse the repository at this point in the history
mem_forget: fix syntax error in code sample
  • Loading branch information
mcarton committed Oct 14, 2018
2 parents 601cc9d + c492818 commit 1cb90cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/mem_forget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1cb90cc

Please sign in to comment.