From 0ebedfe286703f934dbae43f7d4dfdcbc8701589 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 30 Apr 2024 10:55:02 +0200 Subject: [PATCH] clippy: disable the box_default lint, take 2 --- .cargo/config.toml | 1 - Cargo.toml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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"