about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-02-16 19:21:18 +0100
committerGitHub <noreply@github.com>2021-02-16 19:21:18 +0100
commit73d6b603a7e8b69634b004de2a9ddbfe99e684c4 (patch)
treee458ff777e53df7a803af4ad1b56db10a81bff42 /compiler
parent4df040176dd8b3f22c461bad81042223140065fe (diff)
parentf2f7ffecd7aea20ddaedc7fa8ae45f1b15aad235 (diff)
downloadrust-73d6b603a7e8b69634b004de2a9ddbfe99e684c4.tar.gz
rust-73d6b603a7e8b69634b004de2a9ddbfe99e684c4.zip
Rollup merge of #82160 - pierwill:patch-2, r=lcnr
Fix typo in rustc_infer::infer::UndoLog

Also use double quotes.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_infer/src/infer/undo_log.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/undo_log.rs b/compiler/rustc_infer/src/infer/undo_log.rs
index 2cfd6bb904c..4be0e7948f7 100644
--- a/compiler/rustc_infer/src/infer/undo_log.rs
+++ b/compiler/rustc_infer/src/infer/undo_log.rs
@@ -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>>>),