Skip to content

Commit 5548837

Browse files
committed
clippy
1 parent 7b9ec57 commit 5548837

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ rustyline = "18.0"
8585
tokio = { version = "1.0", features = ["full"] }
8686

8787
[lints.rust]
88-
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(tarpaulin_include)'] }
88+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)', 'cfg(force_memory_limit)'] }
8989

9090
[[bench]]
9191
name = "benchmark"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
// Deny warnings inside doc tests / examples. When this isn't present, rustdoc doesn't show *any*
6767
// warnings at all.
6868
#![cfg_attr(docsrs, feature(doc_cfg))]
69-
#![cfg_attr(not(send), allow(clippy::arc_with_non_send_sync))]
69+
#![cfg_attr(not(feature = "send"), allow(clippy::arc_with_non_send_sync))]
7070
#![allow(unsafe_op_in_unsafe_fn)]
7171

7272
#[macro_use]

0 commit comments

Comments
 (0)