Skip to content

Commit

Permalink
Add lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed May 7, 2024
1 parent 4fd42dd commit 99e2393
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ ndarray = {version = "0.15", features = ["rayon"]}

[dev-dependencies]
float_eq = "1.0.0"

[lints.clippy]
needless_return = "allow"
implicit_return = "warning"

Check failure on line 28 in Cargo.toml

View workflow job for this annotation

GitHub Actions / rust

unknown variant `warning`, expected one of `forbid`, `deny`, `warn`, `allow`

0 comments on commit 99e2393

Please sign in to comment.