Skip to content

Commit 30c9199

Browse files
authored
chore: fix some typos (#1800)
1 parent 4102ecd commit 30c9199

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,5 @@ jobs:
104104
- uses: actions/checkout@v4
105105
- uses: crate-ci/[email protected]
106106
with:
107-
config: ./Typos.toml
107+
config: ./typos.toml
108108
isolated: true
109-

Typos.toml

-13
This file was deleted.

crates/precompile/src/bls12_381/utils.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ pub(super) fn extract_scalar_input(input: &[u8]) -> Result<blst_scalar, Precompi
8484

8585
/// Checks if the input is a valid big-endian representation of a field element.
8686
fn is_valid_be(input: &[u8; 48]) -> bool {
87-
for (i, modul) in input.iter().zip(MODULUS_REPR.iter()) {
88-
match i.cmp(modul) {
87+
for (i, modulo) in input.iter().zip(MODULUS_REPR.iter()) {
88+
match i.cmp(modulo) {
8989
Ordering::Greater => return false,
9090
Ordering::Less => return true,
9191
Ordering::Equal => continue,

typos.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[default]
2+
extend-ignore-identifiers-re = ["[sS]imular", "ba"]
3+
4+
[files]
5+
extend-exclude = ["CHANGELOG.md", "tests"]

0 commit comments

Comments
 (0)