about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-13 17:05:56 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-19 09:52:35 +0200
commita18d99abaafed676a3bf6bb0ccab37fd76ce931d (patch)
treeb5b849e7502c3286ee58eb2ad9dfe689d9764cfa /src
parent5734558881353d5f95454f44c81d71c2293d047d (diff)
downloadrust-a18d99abaafed676a3bf6bb0ccab37fd76ce931d.tar.gz
rust-a18d99abaafed676a3bf6bb0ccab37fd76ce931d.zip
Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/intern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/intern.rs b/src/librustc_mir/interpret/intern.rs
index e43ebbffe90..c78b73ddfce 100644
--- a/src/librustc_mir/interpret/intern.rs
+++ b/src/librustc_mir/interpret/intern.rs
@@ -45,7 +45,7 @@ struct InternVisitor<'rt, 'a: 'rt, 'mir: 'rt, 'tcx: 'a+'rt+'mir> {
 #[derive(Copy, Clone, Debug, PartialEq, Hash, Eq)]
 enum InternMode {
     /// Mutable references must in fact be immutable due to their surrounding immutability in a
-    /// `static`. In a `static mut` we start out as mutable and thus can also contain further `&mtu`
+    /// `static`. In a `static mut` we start out as mutable and thus can also contain further `&mut`
     /// that will actually be treated as mutable.
     Static,
     /// UnsafeCell is OK in the value of a constant, but not behind references in a constant