Skip to content

Commit d55a5c8

Browse files
authored
docs: minor improvement for docs (bytecodealliance#11952)
Signed-off-by: geogrego <[email protected]>
1 parent f5fd058 commit d55a5c8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cranelift/codegen/src/machinst/buffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ impl<I: VCodeInst> MachBuffer<I> {
16081608
// relocation or to the veneer inserted. Additionally
16091609
// `MachBuffer` needs the concept of a label which will never be
16101610
// resolved, so `emit_island` doesn't trip over not actually ever
1611-
// knowning what some labels are. Currently the loop in
1611+
// knowing what some labels are. Currently the loop in
16121612
// `finish_emission_maybe_forcing_veneers` would otherwise infinitely
16131613
// loop.
16141614
//

crates/wasmtime/src/runtime/component/resources/host_dynamic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use wasmtime_environ::component::{CanonicalAbiInfo, InterfaceType};
4646
/// to know how to destroy the associated state, if any, that
4747
/// [`ResourceDynamic`] references. The difference with [`Resource`] is that is
4848
/// has runtime type information instead of static type information, meaning
49-
/// that it's possible to mix these up at compile by by accident.
49+
/// that it's possible to mix these up at compile by accident.
5050
///
5151
/// However a [`ResourceDynamic`] can be constructed dynamically at runtime with
5252
/// a runtime-defined type. For example an embedding that provides generic

crates/wizer/src/info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::ops::Range;
44
/// Info that we keep track of on a per module-within-a-module-linking-bundle
55
/// basis.
66
///
7-
/// These are created during during our `parse` pass and then used throughout
7+
/// These are created during our `parse` pass and then used throughout
88
/// our later passes.
99
#[derive(Default)]
1010
pub struct ModuleContext<'a> {

examples/min-platform/embedding/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn config() -> Config {
8585
// isn't possible in no_std. For x86_64 we can use the cpuid instruction
8686
// bound through an external crate.
8787
//
88-
// Note that CPU support for these features has existend since 2013
88+
// Note that CPU support for these features has existed since 2013
8989
// (Haswell) on Intel chips and 2012 (Piledriver) on AMD chips.
9090
unsafe {
9191
config.detect_host_feature(move |feature| {

examples/min-platform/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn main() -> Result<()> {
8282
//
8383
// Note that the embedding will need to check that these features are
8484
// actually available at runtime. CPU support for these features has
85-
// existend since 2013 (Haswell) on Intel chips and 2012 (Piledriver) on
85+
// existed since 2013 (Haswell) on Intel chips and 2012 (Piledriver) on
8686
// AMD chips.
8787
if cfg!(target_arch = "x86_64") {
8888
unsafe {

0 commit comments

Comments
 (0)