A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Fix typos in comments and error messages (#11827)
anim001kbacc2dc3e8fd
diff --git a/crates/test-util/src/wast.rs b/crates/test-util/src/wast.rsindex 6033aa52b8..f98ddfee33 100644--- a/crates/test-util/src/wast.rs+++ b/crates/test-util/src/wast.rs@@ -151,7 +151,7 @@ fn spec_test_config(test: &Path) -> TestConfig {ret.hogs_memory = Some(true);}}- Some(proposal) => panic!("unsuported proposal {proposal:?}"),+ Some(proposal) => panic!("unsupported proposal {proposal:?}"),None => {ret.reference_types = Some(true);ret.simd = Some(true);diff --git a/crates/wasi/src/p1.rs b/crates/wasi/src/p1.rsindex c63331f5de..73bc079b2c 100644--- a/crates/wasi/src/p1.rs+++ b/crates/wasi/src/p1.rs@@ -130,7 +130,7 @@ use wasmtime_wasi_io::bindings::wasi::io::poll::Host as _;////// wasi: WasiCtxBuilder::new()/// .arg("./foo.wasm")-/// // .. more customization if necesssary ..+/// // .. more customization if necessary ../// .build_p1(),/// }/// }diff --git a/crates/wasi/src/sockets/tcp.rs b/crates/wasi/src/sockets/tcp.rsindex d7d59029a1..cc4f059ef3 100644--- a/crates/wasi/src/sockets/tcp.rs+++ b/crates/wasi/src/sockets/tcp.rs@@ -54,7 +54,7 @@ enum TcpState {////// Sockets will not leave this state.Listening {- /// The raw tokio-basd TCP listener managing the underyling socket.+ /// The raw tokio-basd TCP listener managing the underlying socket.listener: Arc<tokio::net::TcpListener>,/// The last-accepted connection, set during the `ready` method and read