about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpierwill <19642016+pierwill@users.noreply.github.com>2021-02-15 10:02:03 -0800
committerGitHub <noreply@github.com>2021-02-15 10:02:03 -0800
commitf2f7ffecd7aea20ddaedc7fa8ae45f1b15aad235 (patch)
tree792820e0ef463761c5727e6798d22b746db72fba
parentd1206f950ffb76c76e1b74a19ae33c2b7d949454 (diff)
downloadrust-f2f7ffecd7aea20ddaedc7fa8ae45f1b15aad235.tar.gz
rust-f2f7ffecd7aea20ddaedc7fa8ae45f1b15aad235.zip
Fix typo in rustc_infer::infer::UndoLog
Also use double quotes.
-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>>>),