From 82f4cb7926a9691536998db8535d9c2a3d2c0362 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 1 Oct 2024 21:53:46 +0100 Subject: [PATCH] Disable needless_return lint --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c07f5fd..0b50c0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,11 @@ cli = ["dep:clap", "dep:serde", "dep:serde_json", "dep:inotify"] [target.'cfg(target_os = "linux")'.dependencies] inotify = { version = "0.10.2", optional = true } +# TODO: Remove this once we're on a newer tokio version that doesn't trip this up +# https://github.com/tokio-rs/tokio/pull/6874 +[lints.clippy] +needless_return = "allow" + [[bin]] name = "litra" required-features = ["cli"]