Skip to content

Commit 2cc20e3

Browse files
committed
fix wording for derivable_impls
1 parent 99ab5fe commit 2cc20e3

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)