Skip to content

Commit

Permalink
Fix typo "TraitObligatiom" -> "TraitObligation"
Browse files Browse the repository at this point in the history
  • Loading branch information
leijurv committed Aug 6, 2020
1 parent 0d75c91 commit 6eeae7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_trait_selection/traits/select/mod.rs
Expand Up @@ -440,7 +440,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
obligation
);

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

0 comments on commit 6eeae7d

Please sign in to comment.