diff options
| author | kraktus <56031107+kraktus@users.noreply.github.com> | 2022-09-04 16:29:30 +0200 |
|---|---|---|
| committer | kraktus <kraktus@users.noreply.github.com> | 2022-09-04 17:20:54 +0200 |
| commit | 2cc20e32451cd6ee3b1336616d6ef7990de96009 (patch) | |
| tree | 315471c59b72d590eb8389175dd32efd4a78cbfb | |
| parent | 99ab5fe53a421e0ae3f1d922442fb994bcfcaf24 (diff) | |
| download | rust-2cc20e32451cd6ee3b1336616d6ef7990de96009.tar.gz rust-2cc20e32451cd6ee3b1336616d6ef7990de96009.zip | |
fix wording for `derivable_impls`
| -rw-r--r-- | clippy_lints/src/derivable_impls.rs | 2 | ||||
| -rw-r--r-- | src/docs/derivable_impls.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/derivable_impls.rs b/clippy_lints/src/derivable_impls.rs index 4d7f4076d7b..ef9eeecc6a9 100644 --- a/clippy_lints/src/derivable_impls.rs +++ b/clippy_lints/src/derivable_impls.rs @@ -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. diff --git a/src/docs/derivable_impls.txt b/src/docs/derivable_impls.txt index 8e4a80a672c..5cee43956cc 100644 --- a/src/docs/derivable_impls.txt +++ b/src/docs/derivable_impls.txt @@ -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. \ No newline at end of file |
