workspace: check for typos in CI (#1001)

This commit is contained in:
Arthur Gautier
2025-06-19 18:19:00 +00:00
committed by GitHub
parent 76050fbe41
commit 310df4ab2a
3 changed files with 12 additions and 1 deletions
+6
View File
@@ -32,3 +32,9 @@ jobs:
toolchain: 1.85.0
components: clippy
- run: cargo clippy --all-features -- -D warnings
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.33.1
+5
View File
@@ -0,0 +1,5 @@
[files]
extend-exclude = [
".git/",
"ml-dsa/tests/examples/*",
]
+1 -1
View File
@@ -329,7 +329,7 @@ impl<F: Field> Neg for &NttPolynomial<F> {
/// An `NttVector` is a vector of polynomials from `T_q` of length `K`. NTT vectors can be
/// added and subtracted. If multiplication is defined for NTT polynomials, then NTT vectors
/// can be multiplied by NTT polynomials, and "multipled" with each other to produce a dot
/// can be multiplied by NTT polynomials, and "multiplied" with each other to produce a dot
/// product.
#[derive(Clone, Default, Debug, PartialEq)]
pub struct NttVector<F: Field, K: ArraySize>(pub Array<NttPolynomial<F>, K>);