Skip to content

Commit 71b6f05

Browse files
authored
Rollup merge of #100102 - b-naber:typo-higher-ranked-sub, r=Dylan-DPC
Fix typo r? `@jackh726`
2 parents 5839d26 + 1405ce3 commit 71b6f05

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
@@ -17,7 +17,7 @@ impl<'a, 'tcx> CombineFields<'a, 'tcx> {
1717
///
1818
/// This is implemented by first entering a new universe.
1919
/// We then replace all bound variables in `sup` with placeholders,
20-
/// and all bound variables in `sup` with inference vars.
20+
/// and all bound variables in `sub` with inference vars.
2121
/// We can then just relate the two resulting types as normal.
2222
///
2323
/// Note: this is a subtle algorithm. For a full explanation, please see

0 commit comments

Comments
 (0)