Skip to content

Commit

Permalink
Revert "new_ret_no_self: add sample from #3313 to Known Problems sect…
Browse files Browse the repository at this point in the history
…ion."

This reverts commit fd2f6dd.

Issue #3313 has been fixed.
  • Loading branch information
matthiaskrgr committed Oct 25, 2018
1 parent a87e1b0 commit b8a9099
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self, E> {}`
/// **Known problems:** None.
///
/// **Example:**
/// ```rust
Expand Down

0 comments on commit b8a9099

Please sign in to comment.