diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 718d9046f924..6b48db2cf85f 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -38,7 +38,7 @@ impl Display for CheckInAllocMsg { write!(f, "{}", match *self { CheckInAllocMsg::MemoryAccessTest => "Memory access", CheckInAllocMsg::NullPointerTest => "Null pointer test", - CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic test", + CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic", CheckInAllocMsg::InboundsTest => "Inbounds test", }) }