We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87e1b0 commit b8a9099Copy full SHA for b8a9099
clippy_lints/src/methods/mod.rs
@@ -452,8 +452,7 @@ declare_clippy_lint! {
452
/// **Why is this bad?** As a convention, `new` methods are used to make a new
453
/// instance of a type.
454
///
455
-/// **Known problems:** The lint fires when the return type is wrapping `Self`.
456
-/// Example: `fn new() -> Result<Self, E> {}`
+/// **Known problems:** None.
457
458
/// **Example:**
459
/// ```rust
0 commit comments