about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorkenta7777 <k.hasegw7@gmail.com>2019-04-01 19:51:12 +0900
committerkenta7777 <k.hasegw7@gmail.com>2019-04-01 19:51:12 +0900
commit656d4c30e9686568b86e737cef7d2b27bb6041cd (patch)
tree030d76f0fdcc2e61a07783f3a971dc366a3dc173 /src
parenteab3eb38df8dca99110b6149b3a15deeb4ef0413 (diff)
downloadrust-656d4c30e9686568b86e737cef7d2b27bb6041cd.tar.gz
rust-656d4c30e9686568b86e737cef7d2b27bb6041cd.zip
typo fix
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/snapshot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/snapshot.rs b/src/librustc_mir/interpret/snapshot.rs
index 0168e1301fa..8bb663f846b 100644
--- a/src/librustc_mir/interpret/snapshot.rs
+++ b/src/librustc_mir/interpret/snapshot.rs
@@ -431,7 +431,7 @@ impl<'a, 'mir, 'tcx> Eq for EvalSnapshot<'a, 'mir, 'tcx>
 impl<'a, 'mir, 'tcx> PartialEq for EvalSnapshot<'a, 'mir, 'tcx>
 {
     fn eq(&self, other: &Self) -> bool {
-        // FIXME: This looks to be a *ridicolously expensive* comparison operation.
+        // FIXME: This looks to be a *ridiculously expensive* comparison operation.
         // Doesn't this make tons of copies?  Either `snapshot` is very badly named,
         // or it does!
         self.snapshot() == other.snapshot()