Skip to content

Commit

Permalink
Fix typos in comment messages (#3267)
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
offensif authored Feb 6, 2025
1 parent 9acc328 commit f7090d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion linera-witty/src/type_traits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub trait WitStore: WitType {

/// Lowers the type into its flat layout representation.
///
/// May write to the `memory` if the type has references to heap data or if it doesn't fix in
/// May write to the `memory` if the type has references to heap data or if it doesn't fit in
/// the maximum flat layout size.
fn lower<Instance>(
&self,
Expand Down
2 changes: 1 addition & 1 deletion linera-witty/tests/common/test_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub trait TestInstanceFactory {
/// The type received by host functions to use for reentrant calls.
type Caller<'caller>;

/// Loads a test module with the provided `module_name` from the named `group`_
/// Loads a test module with the provided `module_name` from the named `group`
fn load_test_module<ExportedFunctions>(
&mut self,
group: &str,
Expand Down
2 changes: 1 addition & 1 deletion linera-witty/tests/common/wit_interface_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use linera_witty::{
wit_generation::WitInterface,
};

/// Expected snippets for the `entryoint` interface.
/// Expected snippets for the `entrypoint` interface.
// The `wit_import` integration test does not use an `Entrypoint` interface
#[allow(dead_code)]
pub const ENTRYPOINT: (&str, &[&str], &[(&str, &str)]) =
Expand Down

0 comments on commit f7090d7

Please # to comment.