Skip to content

Commit f6c8d73

Browse files
authored
fix: typos in documentation files (bytecodealliance#10163)
* Update wave.rs * Update store.rs * Update table.rs
1 parent 7a40f97 commit f6c8d73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/wasmtime/src/runtime/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ pub struct StoreOpaque {
348348
store_data: ManuallyDrop<StoreData>,
349349
default_caller: InstanceHandle,
350350

351-
/// Used to optimzed wasm->host calls when the host function is defined with
351+
/// Used to optimized wasm->host calls when the host function is defined with
352352
/// `Func::new` to avoid allocating a new vector each time a function is
353353
/// called.
354354
hostcall_val_storage: Vec<Val>,

crates/wasmtime/src/runtime/vm/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl Table {
568568
if delta == 0 {
569569
return Ok(Some(old_size));
570570
}
571-
// Cannot return `Trap::TableOutOfBounds` here becase `impl std::error::Error for Trap` is not available in no-std.
571+
// Cannot return `Trap::TableOutOfBounds` here because `impl std::error::Error for Trap` is not available in no-std.
572572
let delta =
573573
usize::try_from(delta).map_err(|_| format_err!("delta exceeds host pointer size"))?;
574574

crates/wasmtime/src/runtime/wave.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Integation with wasm-wave: string representations of values and types
1+
//! Integration with wasm-wave: string representations of values and types
22
33
#[cfg(feature = "component-model")]
44
mod component;

0 commit comments

Comments
 (0)