mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Satisfy Clippy, remove non-tree-states code
This commit is contained in:
2
Makefile
2
Makefile
@@ -138,7 +138,7 @@ test-full: cargo-fmt test-release test-debug test-ef test-exec-engine
|
||||
# Lints the code for bad style and potentially unsafe arithmetic using Clippy.
|
||||
# Clippy lints are opt-in per-crate for now. By default, everything is allowed except for performance and correctness lints.
|
||||
lint:
|
||||
cargo clippy --workspace --tests --features lighthouse/tree-states -- \
|
||||
cargo clippy --workspace --tests -- \
|
||||
-D clippy::fn_to_numeric_cast_any \
|
||||
-D warnings \
|
||||
-A clippy::from-over-into \
|
||||
|
||||
Reference in New Issue
Block a user