mem_forget: fix syntax error in code sample

This commit is contained in:
Matthias Krüger 2018-10-14 10:30:04 +02:00
parent 601cc9d2c5
commit c492818110

View file

@ -23,7 +23,7 @@ use crate::utils::{match_def_path, opt_def_id, paths, span_lint};
/// ///
/// **Example:** /// **Example:**
/// ```rust /// ```rust
/// mem::forget(Rc::new(55))) /// mem::forget(Rc::new(55))
/// ``` /// ```
declare_clippy_lint! { declare_clippy_lint! {
pub MEM_FORGET, pub MEM_FORGET,