Skip to content

Commit 310df4a

Browse files
authored
workspace: check for typos in CI (#1001)
1 parent 76050fb commit 310df4a

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/workspace.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ jobs:
3232
toolchain: 1.85.0
3333
components: clippy
3434
- run: cargo clippy --all-features -- -D warnings
35+
36+
typos:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v4
40+
- uses: crate-ci/typos@v1.33.1

.typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[files]
2+
extend-exclude = [
3+
".git/",
4+
"ml-dsa/tests/examples/*",
5+
]

ml-dsa/src/module_lattice/algebra.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl<F: Field> Neg for &NttPolynomial<F> {
329329

330330
/// An `NttVector` is a vector of polynomials from `T_q` of length `K`. NTT vectors can be
331331
/// added and subtracted. If multiplication is defined for NTT polynomials, then NTT vectors
332-
/// can be multiplied by NTT polynomials, and "multipled" with each other to produce a dot
332+
/// can be multiplied by NTT polynomials, and "multiplied" with each other to produce a dot
333333
/// product.
334334
#[derive(Clone, Default, Debug, PartialEq)]
335335
pub struct NttVector<F: Field, K: ArraySize>(pub Array<NttPolynomial<F>, K>);

0 commit comments

Comments
 (0)