Skip to content

Commit b1c829b

Browse files
authored
Improve miri's error reporting in check_in_alloc
1 parent fc7ffa6 commit b1c829b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/allocation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub enum CheckInAllocMsg {
3232
}
3333

3434
impl Display for CheckInAllocMsg {
35-
/// When this printed as an error the context looks like this
35+
/// When this is printed as an error the context looks like this
3636
/// "{test name} test failed: pointer must be in-bounds at offset..."
3737
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
3838
write!(f, "{} test", match *self {

0 commit comments

Comments
 (0)