Skip to content

Commit 90804d3

Browse files
committed
Auto merge of #9425 - kraktus:patch-1, r=xFrednet
fix wording for `derivable_impls` While looking at the explanation as to why this lint was not automatically applicable, found the explanation a bit clunky grammatically. Feel free to close if you consider the wording was correct in the first place. changelog: none
2 parents 46b7cb6 + 2cc20e3 commit 90804d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/derivable_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ declare_clippy_lint! {
4040
///
4141
/// ### Known problems
4242
/// Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925)
43-
/// in generic types and the user defined `impl` maybe is more generalized or
43+
/// in generic types and the user defined `impl` may be more generalized or
4444
/// specialized than what derive will produce. This lint can't detect the manual `impl`
4545
/// has exactly equal bounds, and therefore this lint is disabled for types with
4646
/// generic parameters.

src/docs/derivable_impls.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct Foo {
2929

3030
### Known problems
3131
Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925)
32-
in generic types and the user defined `impl` maybe is more generalized or
32+
in generic types and the user defined `impl` may be more generalized or
3333
specialized than what derive will produce. This lint can't detect the manual `impl`
3434
has exactly equal bounds, and therefore this lint is disabled for types with
3535
generic parameters.

0 commit comments

Comments
 (0)