From f756e1055702b43090a67be1a02f2295c50815bc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 24 Dec 2024 17:26:12 +0100 Subject: [PATCH] `*`: Allow clippy lint let-and-return --- acrate_apub_inbox/Cargo.toml | 1 + acrate_database/Cargo.toml | 1 + acrate_nodeinfo/Cargo.toml | 1 + acrate_rd/Cargo.toml | 1 + acrate_rdserver/Cargo.toml | 1 + acrate_utils/Cargo.toml | 1 + 6 files changed, 6 insertions(+) diff --git a/acrate_apub_inbox/Cargo.toml b/acrate_apub_inbox/Cargo.toml index fd76dd3..7065fdb 100644 --- a/acrate_apub_inbox/Cargo.toml +++ b/acrate_apub_inbox/Cargo.toml @@ -25,3 +25,4 @@ mediatype = { version = "0.19.18", features = ["serde"] } [lints.clippy] tabs-in-doc-comments = "allow" +let-and-return = "allow" diff --git a/acrate_database/Cargo.toml b/acrate_database/Cargo.toml index 24d19c1..d4caf4c 100644 --- a/acrate_database/Cargo.toml +++ b/acrate_database/Cargo.toml @@ -36,3 +36,4 @@ required-features = ["bin"] [lints.clippy] tabs-in-doc-comments = "allow" +let-and-return = "allow" diff --git a/acrate_nodeinfo/Cargo.toml b/acrate_nodeinfo/Cargo.toml index b137bc0..72bffbe 100644 --- a/acrate_nodeinfo/Cargo.toml +++ b/acrate_nodeinfo/Cargo.toml @@ -25,3 +25,4 @@ tokio-test = "0.4.4" [lints.clippy] tabs-in-doc-comments = "allow" +let-and-return = "allow" diff --git a/acrate_rd/Cargo.toml b/acrate_rd/Cargo.toml index 18b1b5d..2ff4105 100644 --- a/acrate_rd/Cargo.toml +++ b/acrate_rd/Cargo.toml @@ -25,3 +25,4 @@ tokio-test = "0.4.4" [lints.clippy] tabs-in-doc-comments = "allow" +let-and-return = "allow" diff --git a/acrate_rdserver/Cargo.toml b/acrate_rdserver/Cargo.toml index 1165a81..5b6aa3c 100644 --- a/acrate_rdserver/Cargo.toml +++ b/acrate_rdserver/Cargo.toml @@ -28,3 +28,4 @@ mediatype = { version = "0.19.18", features = ["serde"] } [lints.clippy] tabs-in-doc-comments = "allow" type-complexity = "allow" +let-and-return = "allow" diff --git a/acrate_utils/Cargo.toml b/acrate_utils/Cargo.toml index 1497ca2..2983afb 100644 --- a/acrate_utils/Cargo.toml +++ b/acrate_utils/Cargo.toml @@ -20,3 +20,4 @@ tokio = { version = "1.41.1", features = ["net"] } [lints.clippy] tabs-in-doc-comments = "allow" +let-and-return = "allow"