Skip to content

Commit 1405ce3

Browse files
committed
fix typo
1 parent 48316df commit 1405ce3

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_infer/src/infer/higher_ranked

1 file changed

+1
-1
lines changed

compiler/rustc_infer/src/infer/higher_ranked/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl<'a, 'tcx> CombineFields<'a, 'tcx> {
1616
///
1717
/// This is implemented by first entering a new universe.
1818
/// We then replace all bound variables in `sup` with placeholders,
19-
/// and all bound variables in `sup` with inference vars.
19+
/// and all bound variables in `sub` with inference vars.
2020
/// We can then just relate the two resulting types as normal.
2121
///
2222
/// Note: this is a subtle algorithm. For a full explanation, please see

0 commit comments

Comments
 (0)