mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
workspace: check for typos in CI (#1001)
This commit is contained in:
@@ -32,3 +32,9 @@ jobs:
|
|||||||
toolchain: 1.85.0
|
toolchain: 1.85.0
|
||||||
components: clippy
|
components: clippy
|
||||||
- run: cargo clippy --all-features -- -D warnings
|
- run: cargo clippy --all-features -- -D warnings
|
||||||
|
|
||||||
|
typos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: crate-ci/typos@v1.33.1
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[files]
|
||||||
|
extend-exclude = [
|
||||||
|
".git/",
|
||||||
|
"ml-dsa/tests/examples/*",
|
||||||
|
]
|
||||||
@@ -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
|
/// 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
|
/// 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.
|
/// product.
|
||||||
#[derive(Clone, Default, Debug, PartialEq)]
|
#[derive(Clone, Default, Debug, PartialEq)]
|
||||||
pub struct NttVector<F: Field, K: ArraySize>(pub Array<NttPolynomial<F>, K>);
|
pub struct NttVector<F: Field, K: ArraySize>(pub Array<NttPolynomial<F>, K>);
|
||||||
|
|||||||
Reference in New Issue
Block a user