diff options
| author | pierwill <pierwill@users.noreply.github.com> | 2021-02-28 10:10:58 -0800 |
|---|---|---|
| committer | pierwill <pierwill@users.noreply.github.com> | 2021-02-28 10:10:58 -0800 |
| commit | ebe798e31efef0dfc9d172424a7e0bb30b1ef433 (patch) | |
| tree | d3c4378cc681989c2882d28765fa9917bec06017 | |
| parent | 1b1d85fd4cc6ace45d5ec95cd95ce2ccbe6f2e17 (diff) | |
| download | rust-ebe798e31efef0dfc9d172424a7e0bb30b1ef433.tar.gz rust-ebe798e31efef0dfc9d172424a7e0bb30b1ef433.zip | |
Fix typos in rustc_infer::infer::nll_relate
| -rw-r--r-- | compiler/rustc_infer/src/infer/nll_relate/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/nll_relate/mod.rs b/compiler/rustc_infer/src/infer/nll_relate/mod.rs index e720a6f1308..e5eb771603c 100644 --- a/compiler/rustc_infer/src/infer/nll_relate/mod.rs +++ b/compiler/rustc_infer/src/infer/nll_relate/mod.rs @@ -44,7 +44,7 @@ where { infcx: &'me InferCtxt<'me, 'tcx>, - /// Callback to use when we deduce an outlives relationship + /// Callback to use when we deduce an outlives relationship. delegate: D, /// How are we relating `a` and `b`? @@ -768,7 +768,7 @@ impl<'me, 'tcx> TypeVisitor<'tcx> for ScopeInstantiator<'me, 'tcx> { } } -/// The "type generalize" is used when handling inference variables. +/// The "type generalizer" is used when handling inference variables. /// /// The basic strategy for handling a constraint like `?A <: B` is to /// apply a "generalization strategy" to the type `B` -- this replaces |
