diff options
| author | Joshua Nelson <joshua@yottadb.com> | 2021-03-01 11:25:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-01 11:25:10 -0500 |
| commit | 687383113949d738f11d26f5cc820db251a7d2e4 (patch) | |
| tree | 58fcf140e59c8181f021c16904c1a318dc06d222 /compiler | |
| parent | 68088026edcd915b34685cb6e619ef911798ed98 (diff) | |
| parent | ebe798e31efef0dfc9d172424a7e0bb30b1ef433 (diff) | |
| download | rust-687383113949d738f11d26f5cc820db251a7d2e4.tar.gz rust-687383113949d738f11d26f5cc820db251a7d2e4.zip | |
Rollup merge of #82635 - pierwill:edit-infer, r=oli-obk
Fix typos in rustc_infer::infer::nll_relate
Diffstat (limited to 'compiler')
| -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 |
