Skip to content

Commit c3b2896

Browse files
authored
Unrolled build for rust-lang#126525
Rollup merge of rust-lang#126525 - jieyouxu:traitsel-docs, r=compiler-errors trait_selection: remove extra words Tiny doc cleanup. Fixes rust-lang#88231.
2 parents 92af831 + ea2ac34 commit c3b2896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_trait_selection/src/traits/coherence.rs

+2-2
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)