From f3df9437c24f0392a769ea5f2632abe9a14a138c Mon Sep 17 00:00:00 2001 From: strawberry Date: Tue, 5 Mar 2024 23:51:45 -0500 Subject: [PATCH] allow broken lint (?) the braces are required. removing them like the suggestion says breaks everything. Signed-off-by: strawberry --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5ebde053..c3f48ef5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -227,6 +227,9 @@ unsafe_op_in_unsafe_fn = "warn" # not in rust 1.75.0 (doesn't break CI but won't check for it) unit_bindings = "warn" +# this seems to suggest broken code and is not working correctly +unused_braces = "allow" + [workspace.lints.clippy] # pedantic = "warn"