Skip to content

Commit af33d6c

Browse files
committed
Fix typos
commit-id:93f11ecb
1 parent 5d0a998 commit af33d6c

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,4 @@ jobs:
408408
steps:
409409
- uses: actions/checkout@v5
410410
- name: typos-action
411-
uses: crate-ci/typos@v1.31.2
411+
uses: crate-ci/typos@v1.38.1

CAIRO_NATIVE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Cairo Native introduces additional dependencies outside of the Rust ecosystem.
1616

1717
### LLVM
1818

19-
LLVM is linked into Starknet Foundry binary, so it doesn't have to be installed separately at the cost an incrased
19+
LLVM is linked into Starknet Foundry binary, so it doesn't have to be installed separately at the cost an increased
2020
binary size.
2121

2222
### `ld`

crates/conversions/src/felt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl ToShortString<Felt> for Felt {
118118
}
119119

120120
pub trait TryInferFormat: Sized {
121-
/// Parses value from `hex string`, `dec string`, `quotted cairo shortstring `and `quotted cairo string`
121+
/// Parses value from `hex string`, `dec string`, `quoted cairo shortstring `and `quoted cairo string`
122122
fn infer_format_and_parse(value: &str) -> Result<Vec<Self>>;
123123
}
124124

crates/forge/tests/data/wasm_oracles/build-fixtures.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -ex
33

44
# Run this script to generate wasm fixtures from their sources.
5-
# Prebuilt fixtures are expected to be commited to the repository.
5+
# Prebuilt fixtures are expected to be committed to the repository.
66

77
cd "$(dirname "$0")"
88

crates/sncast/tests/docs_snippets/validation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ fn test_docs_snippets() {
5757
.expect("Failed to copy the directory");
5858
}
5959

60-
let source_accouns_json_path = hello_sncast_dir.join("accounts.json");
60+
let source_accounts_json_path = hello_sncast_dir.join("accounts.json");
6161
let target_accounts_json_path = tempdir.path().join("accounts.json");
6262

63-
fs::copy(&source_accouns_json_path, &target_accounts_json_path)
63+
fs::copy(&source_accounts_json_path, &target_accounts_json_path)
6464
.expect("Failed to copy accounts.json");
6565
update_scarb_toml_dependencies(&tempdir).unwrap();
6666

crates/snforge-scarb-plugin-deprecated/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl ParseFromExpr<Expr> for String {
124124
match expr {
125125
Expr::String(string) => Ok(string.text(db).trim_matches('"').to_string()),
126126
_ => Err(T::error(format!(
127-
"<{arg_name}> invalid type, should be: double quotted string"
127+
"<{arg_name}> invalid type, should be: double quoted string"
128128
))),
129129
}
130130
}
@@ -142,7 +142,7 @@ impl ParseFromExpr<Expr> for ShortString {
142142
Ok(ShortString(string))
143143
}
144144
_ => Err(T::error(format!(
145-
"<{arg_name}> invalid type, should be: double quotted string"
145+
"<{arg_name}> invalid type, should be: double quoted string"
146146
))),
147147
}
148148
}

crates/snforge-scarb-plugin/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl ParseFromExpr<Expr> for String {
129129
match expr {
130130
Expr::String(string) => Ok(string.text(db).trim_matches('"').to_string()),
131131
_ => Err(T::error(format!(
132-
"<{arg_name}> invalid type, should be: double quotted string"
132+
"<{arg_name}> invalid type, should be: double quoted string"
133133
))),
134134
}
135135
}
@@ -147,7 +147,7 @@ impl ParseFromExpr<Expr> for ShortString {
147147
Ok(ShortString(string))
148148
}
149149
_ => Err(T::error(format!(
150-
"<{arg_name}> invalid type, should be: double quotted string"
150+
"<{arg_name}> invalid type, should be: double quoted string"
151151
))),
152152
}
153153
}

design_documents/accessing_emitted_events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ It is designed to enable more simplified flow:
179179
use snforge_std::spy_events;
180180
use snforge_std::EventSpy;
181181
use snforge_std::EventFetcher;
182-
use snforge_std::EventAsserions;
182+
use snforge_std::EventAssertions;
183183
use snforge_std::event_name_hash;
184184
185185
#[test]

docs/src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
* [Calldata Transformation](starknet/calldata-transformation.md)
6262
* [Block Explorers](starknet/block_explorer.md)
6363
* [Integration With Devnet](starknet/integration_with_devnet.md)
64-
* [Developer Functionalites](starknet/developer.md)
64+
* [Developer Functionalities](starknet/developer.md)
6565

6666
---
6767

0 commit comments

Comments
 (0)