diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e455a7e8a3..2b8387aac1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -408,4 +408,4 @@ jobs: steps: - uses: actions/checkout@v5 - name: typos-action - uses: crate-ci/typos@v1.31.2 + uses: crate-ci/typos@v1.38.1 diff --git a/CAIRO_NATIVE.md b/CAIRO_NATIVE.md index 94ec2b00bd..bba0dad6dd 100644 --- a/CAIRO_NATIVE.md +++ b/CAIRO_NATIVE.md @@ -16,7 +16,7 @@ Cairo Native introduces additional dependencies outside of the Rust ecosystem. ### LLVM -LLVM is linked into Starknet Foundry binary, so it doesn't have to be installed separately at the cost an incrased +LLVM is linked into Starknet Foundry binary, so it doesn't have to be installed separately at the cost an increased binary size. ### `ld` diff --git a/crates/conversions/src/felt.rs b/crates/conversions/src/felt.rs index 343efc060b..7b11358ec8 100644 --- a/crates/conversions/src/felt.rs +++ b/crates/conversions/src/felt.rs @@ -118,7 +118,7 @@ impl ToShortString for Felt { } pub trait TryInferFormat: Sized { - /// Parses value from `hex string`, `dec string`, `quotted cairo shortstring `and `quotted cairo string` + /// Parses value from `hex string`, `dec string`, `quoted cairo shortstring `and `quoted cairo string` fn infer_format_and_parse(value: &str) -> Result>; } diff --git a/crates/sncast/tests/docs_snippets/validation.rs b/crates/sncast/tests/docs_snippets/validation.rs index e8cd03f733..561c195689 100644 --- a/crates/sncast/tests/docs_snippets/validation.rs +++ b/crates/sncast/tests/docs_snippets/validation.rs @@ -57,10 +57,10 @@ fn test_docs_snippets() { .expect("Failed to copy the directory"); } - let source_accouns_json_path = hello_sncast_dir.join("accounts.json"); + let source_accounts_json_path = hello_sncast_dir.join("accounts.json"); let target_accounts_json_path = tempdir.path().join("accounts.json"); - fs::copy(&source_accouns_json_path, &target_accounts_json_path) + fs::copy(&source_accounts_json_path, &target_accounts_json_path) .expect("Failed to copy accounts.json"); update_scarb_toml_dependencies(&tempdir).unwrap(); diff --git a/crates/snforge-scarb-plugin-deprecated/src/types.rs b/crates/snforge-scarb-plugin-deprecated/src/types.rs index 1677120857..3d8a27dedc 100644 --- a/crates/snforge-scarb-plugin-deprecated/src/types.rs +++ b/crates/snforge-scarb-plugin-deprecated/src/types.rs @@ -124,7 +124,7 @@ impl ParseFromExpr for String { match expr { Expr::String(string) => Ok(string.text(db).trim_matches('"').to_string()), _ => Err(T::error(format!( - "<{arg_name}> invalid type, should be: double quotted string" + "<{arg_name}> invalid type, should be: double quoted string" ))), } } @@ -142,7 +142,7 @@ impl ParseFromExpr for ShortString { Ok(ShortString(string)) } _ => Err(T::error(format!( - "<{arg_name}> invalid type, should be: double quotted string" + "<{arg_name}> invalid type, should be: double quoted string" ))), } } diff --git a/crates/snforge-scarb-plugin/src/types.rs b/crates/snforge-scarb-plugin/src/types.rs index 35d12144b1..77412242e5 100644 --- a/crates/snforge-scarb-plugin/src/types.rs +++ b/crates/snforge-scarb-plugin/src/types.rs @@ -129,7 +129,7 @@ impl ParseFromExpr for String { match expr { Expr::String(string) => Ok(string.text(db).trim_matches('"').to_string()), _ => Err(T::error(format!( - "<{arg_name}> invalid type, should be: double quotted string" + "<{arg_name}> invalid type, should be: double quoted string" ))), } } @@ -147,7 +147,7 @@ impl ParseFromExpr for ShortString { Ok(ShortString(string)) } _ => Err(T::error(format!( - "<{arg_name}> invalid type, should be: double quotted string" + "<{arg_name}> invalid type, should be: double quoted string" ))), } } diff --git a/design_documents/accessing_emitted_events.md b/design_documents/accessing_emitted_events.md index c2a07a5cab..9486833fd6 100644 --- a/design_documents/accessing_emitted_events.md +++ b/design_documents/accessing_emitted_events.md @@ -179,7 +179,7 @@ It is designed to enable more simplified flow: use snforge_std::spy_events; use snforge_std::EventSpy; use snforge_std::EventFetcher; -use snforge_std::EventAsserions; +use snforge_std::EventAssertions; use snforge_std::event_name_hash; #[test] diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 111a8991b7..f017b00e0b 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -61,7 +61,7 @@ * [Calldata Transformation](starknet/calldata-transformation.md) * [Block Explorers](starknet/block_explorer.md) * [Integration With Devnet](starknet/integration_with_devnet.md) -* [Developer Functionalites](starknet/developer.md) +* [Developer Functionalities](starknet/developer.md) ---