Skip to content

Commit

Permalink
Rollup merge of rust-lang#82160 - pierwill:patch-2, r=lcnr
Browse files Browse the repository at this point in the history
Fix typo in rustc_infer::infer::UndoLog

Also use double quotes.
  • Loading branch information
Dylan-DPC authored Feb 16, 2021
2 parents 5946f0b + f2f7ffe commit 0f8249d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_infer/src/infer/undo_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct Snapshot<'tcx> {
_marker: PhantomData<&'tcx ()>,
}

/// Records the 'undo' data fora single operation that affects some form of inference variable.
/// Records the "undo" data for a single operation that affects some form of inference variable.
pub(crate) enum UndoLog<'tcx> {
TypeVariables(type_variable::UndoLog<'tcx>),
ConstUnificationTable(sv::UndoLog<ut::Delegate<ty::ConstVid<'tcx>>>),
Expand Down

0 comments on commit 0f8249d

Please sign in to comment.