Revert "new_ret_no_self: add sample from #3313 to Known Problems section."

This reverts commit fd2f6dd382.

Issue #3313 has been fixed.
This commit is contained in:
Matthias Krüger 2018-10-25 13:37:50 +02:00
parent a87e1b02ab
commit b8a9099011
1 changed files with 1 additions and 2 deletions

View File

@ -452,8 +452,7 @@ declare_clippy_lint! {
/// **Why is this bad?** As a convention, `new` methods are used to make a new /// **Why is this bad?** As a convention, `new` methods are used to make a new
/// instance of a type. /// instance of a type.
/// ///
/// **Known problems:** The lint fires when the return type is wrapping `Self`. /// **Known problems:** None.
/// Example: `fn new() -> Result<Self, E> {}`
/// ///
/// **Example:** /// **Example:**
/// ```rust /// ```rust