From b8a909901123fb326edf46e99d3e2d83ed22b15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 25 Oct 2018 13:37:50 +0200 Subject: [PATCH] Revert "new_ret_no_self: add sample from #3313 to Known Problems section." This reverts commit fd2f6dd3824b32af031d19830b6ccdc732dd3dfc. Issue #3313 has been fixed. --- clippy_lints/src/methods/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index f0810c906ef..01f97264d0b 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -452,8 +452,7 @@ declare_clippy_lint! { /// **Why is this bad?** As a convention, `new` methods are used to make a new /// instance of a type. /// -/// **Known problems:** The lint fires when the return type is wrapping `Self`. -/// Example: `fn new() -> Result {}` +/// **Known problems:** None. /// /// **Example:** /// ```rust