Merge pull request #3314 from matthiaskrgr/mem_forget_sample

mem_forget: fix syntax error in code sample
This commit is contained in:
Martin Carton 2018-10-14 14:15:31 +02:00 committed by GitHub
commit 1cb90cc48a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,