Skip to content

Commit

Permalink
change error message to be less confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Jan 31, 2025
1 parent d34e17e commit 9b2311c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/memory/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Display for MemoryError {
write!(f, "out of bounds memory access")
}
Self::InvalidMemoryType => {
write!(f, "tried to create an invalid virtual memory type")
write!(f, "tried to create an invalid linear memory type")
}
Self::InvalidSubtype { ty, other } => {
write!(f, "memory type {ty:?} is not a subtype of {other:?}",)
Expand Down

0 comments on commit 9b2311c

Please sign in to comment.