diff options
| author | bors <bors@rust-lang.org> | 2022-09-04 15:32:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-04 15:32:09 +0000 |
| commit | 90804d35fef4d90bfa6e2f03696085f872513fa0 (patch) | |
| tree | fa1391b497b95fef63e2c8bc800341c6e519776f /src | |
| parent | 46b7cb69cb5bf9ca80d8d70fb7f4686aa28f6723 (diff) | |
| parent | 2cc20e32451cd6ee3b1336616d6ef7990de96009 (diff) | |
| download | rust-90804d35fef4d90bfa6e2f03696085f872513fa0.tar.gz rust-90804d35fef4d90bfa6e2f03696085f872513fa0.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/docs/derivable_impls.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
