Add more Rust lints (#4698)

Add more lints
This commit is contained in:
Jonathan Tran
2024-12-10 12:14:03 -05:00
committed by GitHub
parent f2cfa4d5cf
commit 22eb343171
2 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ kittycad = { version = "0.3.28", default-features = false, features = ["js", "re
kittycad-modeling-cmds = { version = "0.2.77", features = ["websocket"] }
[workspace.lints.clippy]
assertions_on_result_states = "warn"
dbg_macro = "warn"
iter_over_hash_type = "warn"
lossy_float_literal = "warn"
[[test]]
name = "executor"

View File

@ -15,5 +15,5 @@ async fn kcl_to_core_test() {
)
.await;
assert!(result.is_ok());
result.unwrap();
}