From c4928181107314fa437cbd6cdd078d07f53caef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sun, 14 Oct 2018 10:30:04 +0200 Subject: [PATCH] mem_forget: fix syntax error in code sample --- clippy_lints/src/mem_forget.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/mem_forget.rs b/clippy_lints/src/mem_forget.rs index dd2a1ca50e7..accd7bc220c 100644 --- a/clippy_lints/src/mem_forget.rs +++ b/clippy_lints/src/mem_forget.rs @@ -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,