Skip to content

Commit 6f2fa1e

Browse files
authored
Rollup merge of #75232 - leijurv:patch-1, r=jonas-schievink
Fix typo "TraitObligatiom" -> "TraitObligation"
2 parents 76086a2 + 6eeae7d commit 6f2fa1e

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_trait_selection/traits/select

1 file changed

+1
-1
lines changed

src/librustc_trait_selection/traits/select/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
440440
obligation
441441
);
442442

443-
// `previous_stack` stores a `TraitObligatiom`, while `obligation` is
443+
// `previous_stack` stores a `TraitObligation`, while `obligation` is
444444
// a `PredicateObligation`. These are distinct types, so we can't
445445
// use any `Option` combinator method that would force them to be
446446
// the same.

0 commit comments

Comments
 (0)