diff --git a/crates/wasmtime/src/trap.rs b/crates/wasmtime/src/trap.rs index f16f19aedb58..41b59fe0d45b 100644 --- a/crates/wasmtime/src/trap.rs +++ b/crates/wasmtime/src/trap.rs @@ -389,7 +389,7 @@ impl fmt::Display for WasmBacktrace { } } if self.hint_wasm_backtrace_details_env { - write!(f, "\nnote: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information")?; + write!(f, "\nnote: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information")?; } Ok(()) } diff --git a/tests/all/traps.rs b/tests/all/traps.rs index 0922f8442e83..a8005e1053f0 100644 --- a/tests/all/traps.rs +++ b/tests/all/traps.rs @@ -790,7 +790,7 @@ fn hint_with_dwarf_info() -> Result<()> { "\ error while executing at wasm backtrace: 0: 0x1a - !start -note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information +note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information Caused by: wasm trap: wasm `unreachable` instruction executed\