mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-18 02:34:37 +00:00
commit
24b77ea72f
@ -33,7 +33,7 @@ declare_clippy_lint! {
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// To fix the lint, and a `Default` implementation that delegates to `new`:
|
||||
/// To fix the lint, add a `Default` implementation that delegates to `new`:
|
||||
///
|
||||
/// ```ignore
|
||||
/// struct Foo(Bar);
|
||||
|
Loading…
Reference in New Issue
Block a user