Skip to content

Commit a18d99a

Browse files
committed
Fix typo
1 parent 5734558 commit a18d99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/intern.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct InternVisitor<'rt, 'a: 'rt, 'mir: 'rt, 'tcx: 'a+'rt+'mir> {
4545
#[derive(Copy, Clone, Debug, PartialEq, Hash, Eq)]
4646
enum InternMode {
4747
/// Mutable references must in fact be immutable due to their surrounding immutability in a
48-
/// `static`. In a `static mut` we start out as mutable and thus can also contain further `&mtu`
48+
/// `static`. In a `static mut` we start out as mutable and thus can also contain further `&mut`
4949
/// that will actually be treated as mutable.
5050
Static,
5151
/// UnsafeCell is OK in the value of a constant, but not behind references in a constant

0 commit comments

Comments
 (0)