diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-06-15 19:51:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-15 19:51:38 +0200 |
| commit | b6311b3a331e6c7b4ff3d0b5dcc074fb7c2e74f7 (patch) | |
| tree | 2237e4b15bf0b1a9d51aec1c5d9ac983ff0e46c0 | |
| parent | 38b3c9acd4d8962404b56c9ed3eadc2a9a38c68b (diff) | |
| parent | ea2ac347f0d45dd6d499cbd63213c1f3c4515d41 (diff) | |
| download | rust-b6311b3a331e6c7b4ff3d0b5dcc074fb7c2e74f7.tar.gz rust-b6311b3a331e6c7b4ff3d0b5dcc074fb7c2e74f7.zip | |
Rollup merge of #126525 - jieyouxu:traitsel-docs, r=compiler-errors
trait_selection: remove extra words Tiny doc cleanup. Fixes https://github.com/rust-lang/rust/issues/88231.
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/coherence.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/coherence.rs b/compiler/rustc_trait_selection/src/traits/coherence.rs index fc5c71252e1..a4177d8a93f 100644 --- a/compiler/rustc_trait_selection/src/traits/coherence.rs +++ b/compiler/rustc_trait_selection/src/traits/coherence.rs @@ -769,8 +769,8 @@ pub struct UncoveredTyParams<'tcx, T> { /// add "non-blanket" impls without breaking negative reasoning in dependent /// crates. This is the "rebalancing coherence" (RFC 1023) restriction. /// -/// For that, we only a allow crate to perform negative reasoning on -/// non-local-non-`#[fundamental]` only if there's a local key parameter as per (2). +/// For that, we only allow a crate to perform negative reasoning on +/// non-local-non-`#[fundamental]` if there's a local key parameter as per (2). /// /// Because we never perform negative reasoning generically (coherence does /// not involve type parameters), this can be interpreted as doing the full |
