From 119564a33353dccf3a5d2a10960a71123ff9c924 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Tue, 1 Oct 2024 01:23:43 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20clippy=20hallucinat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ok(()) is considered an unnecessary return, with the fix more horrible than the original. --- bin/chainofcommand/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/chainofcommand/Cargo.toml b/bin/chainofcommand/Cargo.toml index 3c9dc275..c88b45e6 100644 --- a/bin/chainofcommand/Cargo.toml +++ b/bin/chainofcommand/Cargo.toml @@ -25,3 +25,6 @@ tokio-stream = { version = "0.1" } tokio-serial = "5.4" defer = "0.2" bytes = "1.7" + +[lints.clippy] +needless_return = "allow" # clippy hallucinates like chatgpt