Browse Source

Fix typos (#8746)

pull/8737/merge
Daniel Sedlak 5 months ago
committed by GitHub
parent
commit
2fbc40ae3d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      crates/wasmtime/src/runtime/func.rs
  2. 2
      crates/wasmtime/src/runtime/vm/mmap.rs

2
crates/wasmtime/src/runtime/func.rs

@ -315,7 +315,7 @@ enum FuncKind {
/// is dropped.
///
/// Note that this is intentionally placed behind a `Box` to minimize the
/// size of this enum since the most common variant for high-peformance
/// size of this enum since the most common variant for high-performance
/// situations is `SharedHost` and `StoreOwned`, so this ideally isn't
/// larger than those two.
Host(Box<HostFunc>),

2
crates/wasmtime/src/runtime/vm/mmap.rs

@ -153,7 +153,7 @@ impl Mmap {
/// Return the length of the allocated memory.
///
/// This is the byte length of this entire mapping which includes both
/// addressible and non-addressible memory.
/// addressable and non-addressable memory.
#[inline]
pub fn len(&self) -> usize {
self.sys.len()

Loading…
Cancel
Save