A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Fix some error message typos (#13102)
Alex Crichton40da1d8c83e2
diff --git a/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs b/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rsindex a1e7ae1aac..eda01dc3cc 100644--- a/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs+++ b/crates/wasmtime/src/runtime/component/concurrent/futures_and_streams.rs@@ -2373,7 +2373,7 @@ impl StoreOpaque {let WriteState::GuestReady { ty, handle, .. } =mem::replace(&mut transmit.write, WriteState::Open)else {- bail_bug!("expected WriteState::HostReady")+ bail_bug!("expected WriteState::GuestReady")};state.send_write_result(ty, id, handle, code)?;Ok(())@@ -2417,7 +2417,7 @@ impl StoreOpaque {let ReadState::GuestReady { ty, handle, .. } =mem::replace(&mut transmit.read, ReadState::Open)else {- bail_bug!("expected ReadState::HostReady")+ bail_bug!("expected ReadState::GuestReady")};state.send_read_result(ty, id, handle, code)?;Ok(())