fix wording for derivable_impls

This commit is contained in:
kraktus 2022-09-04 16:29:30 +02:00 committed by kraktus
parent 99ab5fe53a
commit 2cc20e3245
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
/// ///
/// ### Known problems /// ### Known problems
/// Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925) /// 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` /// 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 /// has exactly equal bounds, and therefore this lint is disabled for types with
/// generic parameters. /// generic parameters.

View File

@ -29,7 +29,7 @@ struct Foo {
### Known problems ### Known problems
Derive macros [sometimes use incorrect bounds](https://github.com/rust-lang/rust/issues/26925) 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` 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 has exactly equal bounds, and therefore this lint is disabled for types with
generic parameters. generic parameters.