diff options
| author | b-naber <bn263@gmx.de> | 2022-08-03 11:04:10 +0200 |
|---|---|---|
| committer | b-naber <bn263@gmx.de> | 2022-08-03 11:04:10 +0200 |
| commit | 1405ce35acbcd61b9da8ab7ded6201639cb83d52 (patch) | |
| tree | 8080e523417ced66d025753cce5cfdb14c17fd9a | |
| parent | 48316dfea1914d25189fa441e7310449ed76a446 (diff) | |
| download | rust-1405ce35acbcd61b9da8ab7ded6201639cb83d52.tar.gz rust-1405ce35acbcd61b9da8ab7ded6201639cb83d52.zip | |
fix typo
| -rw-r--r-- | compiler/rustc_infer/src/infer/higher_ranked/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/higher_ranked/mod.rs b/compiler/rustc_infer/src/infer/higher_ranked/mod.rs index e543ae1fcda..4608d3984ac 100644 --- a/compiler/rustc_infer/src/infer/higher_ranked/mod.rs +++ b/compiler/rustc_infer/src/infer/higher_ranked/mod.rs @@ -16,7 +16,7 @@ impl<'a, 'tcx> CombineFields<'a, 'tcx> { /// /// This is implemented by first entering a new universe. /// We then replace all bound variables in `sup` with placeholders, - /// and all bound variables in `sup` with inference vars. + /// and all bound variables in `sub` with inference vars. /// We can then just relate the two resulting types as normal. /// /// Note: this is a subtle algorithm. For a full explanation, please see |
