mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
fix wording for derivable_impls
This commit is contained in:
parent
99ab5fe53a
commit
2cc20e3245
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// ### Known problems
|
||||
/// Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925)
|
||||
/// in generic types and the user defined `impl` maybe is more generalized or
|
||||
/// in generic types and the user defined `impl` may be more generalized or
|
||||
/// specialized than what derive will produce. This lint can't detect the manual `impl`
|
||||
/// has exactly equal bounds, and therefore this lint is disabled for types with
|
||||
/// generic parameters.
|
||||
|
|
|
@ -29,7 +29,7 @@ struct Foo {
|
|||
|
||||
### Known problems
|
||||
Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925)
|
||||
in generic types and the user defined `impl` maybe is more generalized or
|
||||
in generic types and the user defined `impl` may be more generalized or
|
||||
specialized than what derive will produce. This lint can't detect the manual `impl`
|
||||
has exactly equal bounds, and therefore this lint is disabled for types with
|
||||
generic parameters.
|
Loading…
Reference in a new issue