diff --git a/lib/api/src/lib.rs b/lib/api/src/lib.rs index 1d697208b61..49eca6e32f7 100755 --- a/lib/api/src/lib.rs +++ b/lib/api/src/lib.rs @@ -469,7 +469,7 @@ pub type Features = sys::Features; pub type BaseTunables = sys::BaseTunables; #[cfg(feature = "sys")] #[deprecated(note = "wasmer::VMConfig is deprecated, use wasmer::sys::VMConfig instead")] -/// Configuration for the the runtime VM +/// Configuration for the runtime VM /// Currently only the stack size is configurable pub type VMConfig = sys::VMConfig; diff --git a/lib/cli/src/net/tun.rs b/lib/cli/src/net/tun.rs index 7b59b796c1c..fd8d673168f 100644 --- a/lib/cli/src/net/tun.rs +++ b/lib/cli/src/net/tun.rs @@ -306,7 +306,7 @@ impl Future for TunTapDriver { Poll::Pending => {} } - // Add the waker before we drain all the the events + // Add the waker before we drain all the events // we need to read and send self.handler .add(virtual_mio::InterestType::Readable, cx.waker()); diff --git a/lib/compiler-cranelift/src/translator/func_state.rs b/lib/compiler-cranelift/src/translator/func_state.rs index 4b42bb1e521..1be298fb5f6 100644 --- a/lib/compiler-cranelift/src/translator/func_state.rs +++ b/lib/compiler-cranelift/src/translator/func_state.rs @@ -343,7 +343,7 @@ impl FuncTranslationState { (v1, v2, v3) } - /// Helper to ensure the the stack size is at least as big as `n`; note that due to + /// Helper to ensure the stack size is at least as big as `n`; note that due to /// `debug_assert` this will not execute in non-optimized builds. #[inline] fn ensure_length_is_at_least(&self, n: usize) { diff --git a/lib/virtual-fs/src/overlay_fs.rs b/lib/virtual-fs/src/overlay_fs.rs index 8c16f2c76f7..cdee8580e21 100644 --- a/lib/virtual-fs/src/overlay_fs.rs +++ b/lib/virtual-fs/src/overlay_fs.rs @@ -712,7 +712,7 @@ where }; } } - // Now once the the restoration of the seek position completes we set the copied state + // Now once the restoration of the seek position completes we set the copied state CowState::SeekingRestore { mut dst } => { match Pin::new(dst.as_mut()).poll_complete(cx) { Poll::Ready(_) => { diff --git a/lib/vm/src/trap/traphandlers.rs b/lib/vm/src/trap/traphandlers.rs index 00627b990cd..3d6b877c746 100644 --- a/lib/vm/src/trap/traphandlers.rs +++ b/lib/vm/src/trap/traphandlers.rs @@ -24,7 +24,7 @@ use std::sync::atomic::{compiler_fence, AtomicPtr, AtomicUsize, Ordering}; use std::sync::Once; use wasmer_types::TrapCode; -/// Configuration for the the runtime VM +/// Configuration for the runtime VM /// Currently only the stack size is configurable pub struct VMConfig { /// Optionnal stack size (in byte) of the VM. Value lower than 8K will be rounded to 8K. diff --git a/lib/wasix/src/runners/dcgi/runner.rs b/lib/wasix/src/runners/dcgi/runner.rs index 5731728d9fb..a1204a22fa6 100644 --- a/lib/wasix/src/runners/dcgi/runner.rs +++ b/lib/wasix/src/runners/dcgi/runner.rs @@ -92,7 +92,7 @@ impl crate::runners::Runner for DcgiRunner { let runtime = OverriddenRuntime::new(runtime).with_journals(journals); let runtime = Arc::new(runtime) as Arc; - //We now pass the runtime to the the handlers + //We now pass the runtime to the handlers let handler = self.prepare_handler(command_name, pkg, Arc::clone(&runtime))?; self.inner.run_command_with_handler(handler, runtime) } diff --git a/lib/wasix/src/runtime/task_manager/mod.rs b/lib/wasix/src/runtime/task_manager/mod.rs index 49699c42f85..cf9c071c163 100644 --- a/lib/wasix/src/runtime/task_manager/mod.rs +++ b/lib/wasix/src/runtime/task_manager/mod.rs @@ -313,7 +313,7 @@ where } impl dyn VirtualTaskManager { - /// Starts an WebAssembly task will will run on a dedicated thread + /// Starts an WebAssembly task will run on a dedicated thread /// pulled from the worker pool that has a stateful thread local variable /// After the poller has succeeded #[doc(hidden)]