@@ -22,9 +22,9 @@ use tracing::{debug, instrument, trace};
2222use crate :: infer:: InferCtxt ;
2323use crate :: traits;
2424
25- /// Returns the set of obligations needed to make `arg ` well-formed.
26- /// If `arg ` contains unresolved inference variables, this may include
27- /// further WF obligations. However, if `arg ` IS an unresolved
25+ /// Returns the set of obligations needed to make `term ` well-formed.
26+ /// If `term ` contains unresolved inference variables, this may include
27+ /// further WF obligations. However, if `term ` IS an unresolved
2828/// inference variable, returns `None`, because we are not able to
2929/// make any progress at all. This is to prevent cycles where we
3030/// say "?0 is WF if ?0 is WF".
@@ -100,7 +100,7 @@ pub fn unnormalized_obligations<'tcx>(
100100) -> Option < PredicateObligations < ' tcx > > {
101101 debug_assert_eq ! ( term, infcx. resolve_vars_if_possible( term) ) ;
102102
103- // However, if `arg ` IS an unresolved inference variable, returns `None`,
103+ // However, if `term ` IS an unresolved inference variable, returns `None`,
104104 // because we are not able to make any progress at all. This is to prevent
105105 // cycles where we say "?0 is WF if ?0 is WF".
106106 if term. is_infer ( ) {
0 commit comments