Skip to content

Commit

Permalink
Ignore too_long_first_doc_paragraph lint (#545)
Browse files Browse the repository at this point in the history
* Make Clippy happy

* chore: use workspace lint rules

* fix: eol

---------

Co-authored-by: Marko Atanasievski <[email protected]>
  • Loading branch information
LindaGuiga and atanmarko authored Aug 26, 2024
1 parent 1724620 commit c5d542d
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,7 @@ proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
trybuild = "1.0"

[workspace.lints.clippy]
too_long_first_doc_paragraph = "allow"

4 changes: 4 additions & 0 deletions evm_arithmetization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ harness = false
# Display math equations properly in documentation
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", ".cargo/katex-header.html"]


[lints]
workspace = true
3 changes: 3 additions & 0 deletions mpt_trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ doc-scrape-examples = true

[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

[lints]
workspace = true
3 changes: 3 additions & 0 deletions proof_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ hashbrown = { workspace = true }

# Local dependencies
evm_arithmetization = { workspace = true }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions smt_trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ hex-literal = { workspace = true }
plonky2 = { workspace = true }
rand = { workspace = true }
serde = { workspace = true, features = ["derive", "rc"] }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions zero_bin/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ once_cell = { workspace = true }
cargo_metadata = { workspace = true }
vergen = { workspace = true }
anyhow = { workspace = true }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions zero_bin/leader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ default = []
cargo_metadata = { workspace = true }
vergen = { workspace = true }
anyhow = { workspace = true }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions zero_bin/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ clap = {workspace = true}

[features]
default = []

[lints]
workspace = true

0 comments on commit c5d542d

Please sign in to comment.