Skip to content

Commit

Permalink
Rollup merge of #82635 - pierwill:edit-infer, r=oli-obk
Browse files Browse the repository at this point in the history
Fix typos in rustc_infer::infer::nll_relate
  • Loading branch information
Joshua Nelson committed Mar 1, 2021
2 parents 6808802 + ebe798e commit 6873831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_infer/src/infer/nll_relate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`?
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6873831

Please sign in to comment.