diff --git a/.config/typos.toml b/.config/typos.toml new file mode 100644 index 0000000..d2722d3 --- /dev/null +++ b/.config/typos.toml @@ -0,0 +1 @@ +[default.extend-words] diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 980f4e8..c2cc4bc 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -30,7 +30,10 @@ jobs: name: Various lints timeout-minutes: 30 runs-on: ubuntu-latest - + - name: Use typos with config file + uses: crate-ci/typos@master + with: + config: .config/typos.toml steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -62,6 +65,10 @@ jobs: with: command: clippy args: --all-features --all-targets -- -D warnings + - name: Use typos with config file + uses: crate-ci/typos@master + with: + config: .config/typos.toml # Ensure intra-documentation links all resolve correctly # Requires #![deny(intra_doc_link_resolution_failure)] in crates. @@ -69,4 +76,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: --no-deps --all --document-private-items \ No newline at end of file + args: --no-deps --all --document-private-items diff --git a/src/lib.rs b/src/lib.rs index 507d566..19d18b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! This crate provides the poseidon gadget for use with `halo2_proofs`. -//! This gadget has been stracted from zcash's halo2_gadgets: -//! +//! This gadget has been extracted from zcash's halo2_gadgets: +//! https://github.com/zcash/halo2/tree/main/halo2_gadgets #![cfg_attr(docsrs, feature(doc_cfg))] // Catch documentation errors caused by code changes.