Skip to content

Commit

Permalink
chore: fix some comments (#8298)
Browse files Browse the repository at this point in the history
Signed-off-by: redismongo <yuanchaowei@outlook.com>
  • Loading branch information
redismongo authored Apr 4, 2024
1 parent 65c04b9 commit c174147
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ Released 2023-09-20
instead of at compile time.
[#6807](https://github.com/bytecodealliance/wasmtime/pull/6807)

* `Engine::detect_precompiled{,_file}` can be used to to determine whether some
* `Engine::detect_precompiled{,_file}` can be used to determine whether some
bytes or a file look like a precompiled module or a component.
[#6832](https://github.com/bytecodealliance/wasmtime/pull/6832)
[#6937](https://github.com/bytecodealliance/wasmtime/pull/6937)
Expand Down
2 changes: 1 addition & 1 deletion cranelift/filetests/src/runone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl FileUpdate {
assert!(location.line_number > self.last_update.get());
self.last_update.set(location.line_number);

// Read the old test file and calculate thte new line number we're
// Read the old test file and calculate the new line number we're
// preserving up to based on how many lines prior to this have been
// removed or added.
let old_test = std::fs::read_to_string(&self.path)?;
Expand Down
2 changes: 1 addition & 1 deletion crates/c-api/include/wasmtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ extern "C" {
#endif

/**
* \brief Converts from the text format of WebAssembly to to the binary format.
* \brief Converts from the text format of WebAssembly to the binary format.
*
* \param wat this it the input pointer with the WebAssembly Text Format inside
* of it. This will be parsed and converted to the binary format.
Expand Down
2 changes: 1 addition & 1 deletion crates/environ/src/component/translate/inline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ struct InlinerFrame<'a> {
//
// FIXME: this is cloned quite a lot and given the internal maps if this is a
// perf issue we may want to `Rc` these fields. Note that this is only a perf
// hit at compile-time though which we in general don't pay too too much
// hit at compile-time though which we in general don't pay too much
// attention to.
#[derive(Default, Clone)]
struct ComponentClosure<'a> {
Expand Down

0 comments on commit c174147

Please sign in to comment.