Skip to content

Commit ddc24c4

Browse files
committed
Doc typos
1 parent 8bf341a commit ddc24c4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/environ/src/compile/address_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::ops::Range;
99

1010
/// Builder for the address map section of a wasmtime compilation image.
1111
///
12-
/// This builder is used to conveniently built the `ELF_WASMTIME_ADDRMAP`
12+
/// This builder is used to conveniently build the `ELF_WASMTIME_ADDRMAP`
1313
/// section by compilers, and provides utilities to directly insert the results
1414
/// into an `Object`.
1515
#[derive(Default)]

crates/environ/src/compile/frame_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ impl FrameTableBuilder {
325325
.push(U32Bytes::new(LittleEndian, end));
326326
}
327327

328-
/// Serialize the framd-table data section, taking a closure to
328+
/// Serialize the frame-table data section, taking a closure to
329329
/// consume slices.
330330
pub fn serialize<F: FnMut(&[u8])>(&mut self, mut f: F) {
331331
// Pad `frame_descriptor_data` to a multiple of 4 bytes so

crates/wasmtime/src/runtime/vm/sys/unix/signals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ unsafe fn get_trap_registers(cx: *mut libc::c_void, _signum: libc::c_int) -> Tra
332332
}
333333
}
334334

335-
/// Updates the siginfo context stored in `cx` to resume to `handler` up on
335+
/// Updates the siginfo context stored in `cx` to resume to `handler` upon
336336
/// resumption while returning from the signal handler.
337337
unsafe fn store_handler_in_ucontext(cx: *mut libc::c_void, handler: &Handler) {
338338
cfg_if::cfg_if! {

0 commit comments

Comments
 (0)