Skip to content

Commit ff38c28

Browse files
committed
fix a typo
1 parent b6097f2 commit ff38c28

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/mir/interpret

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/mir/interpret/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl fmt::Display for InvalidProgramInfo<'_> {
144144
AlreadyReported(ErrorGuaranteed { .. }) => {
145145
write!(
146146
f,
147-
"an error has already been reported elsewhere (this sould not usually be printed)"
147+
"an error has already been reported elsewhere (this should not usually be printed)"
148148
)
149149
}
150150
Layout(ref err) => write!(f, "{err}"),

0 commit comments

Comments
 (0)