diff --git a/.cargo/config.toml b/.cargo/config.toml index 6b0882db9..71820b3b8 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -38,7 +38,6 @@ rustflags = [ "-Wclippy::nonstandard_macro_braces", "-Wclippy::str_to_string", "-Wclippy::todo", - "-Aclippy::box_default" ] [target.'cfg(target_arch = "wasm32")'] diff --git a/Cargo.toml b/Cargo.toml index a81182284..98e752757 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -111,3 +111,4 @@ const_panic = { git = "https://github.com/jplatte/const_panic", rev = "9024a4cb3 [workspace.lints.clippy] assigning_clones = "allow" +box_default = "allow"