Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: StevenMia <[email protected]>
  • Loading branch information
StevenMia authored and theduke committed Apr 15, 2024
1 parent 77c3d0e commit 00bbe2a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion lib/cli/src/net/tun.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler-cranelift/src/translator/func_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/virtual-fs/src/overlay_fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(_) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/vm/src/trap/traphandlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/wasix/src/runners/dcgi/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DynRuntime>;

//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)
}
Expand Down
2 changes: 1 addition & 1 deletion lib/wasix/src/runtime/task_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 00bbe2a

Please sign in to comment.