Skip to content

Commit b6311b3

Browse files
Rollup merge of #126525 - jieyouxu:traitsel-docs, r=compiler-errors
trait_selection: remove extra words Tiny doc cleanup. Fixes #88231.
2 parents 38b3c9a + ea2ac34 commit b6311b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/traits/coherence.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,8 @@ pub struct UncoveredTyParams<'tcx, T> {
769769
/// add "non-blanket" impls without breaking negative reasoning in dependent
770770
/// crates. This is the "rebalancing coherence" (RFC 1023) restriction.
771771
///
772-
/// For that, we only a allow crate to perform negative reasoning on
773-
/// non-local-non-`#[fundamental]` only if there's a local key parameter as per (2).
772+
/// For that, we only allow a crate to perform negative reasoning on
773+
/// non-local-non-`#[fundamental]` if there's a local key parameter as per (2).
774774
///
775775
/// Because we never perform negative reasoning generically (coherence does
776776
/// not involve type parameters), this can be interpreted as doing the full

0 commit comments

Comments
 (0)