From 8ebee1f31d3405f75a49559a0e5af10e270471cc Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Tue, 12 Mar 2024 12:32:13 +0100 Subject: [PATCH] Fix clippy warning after cherry-picking fix into 0.125.x --- crates/util/src/github.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/util/src/github.rs b/crates/util/src/github.rs index 7e2578214e6bd7a95bef41ed4136686c296d8f2e..2e1273f0dbb860b018b4122d728ea95641775c6c 100644 --- a/crates/util/src/github.rs +++ b/crates/util/src/github.rs @@ -111,7 +111,7 @@ pub async fn github_release_with_tag( "GitHub API response text: {:?}", String::from_utf8_lossy(body.as_slice()) ); - return Err(anyhow!("error deserializing latest release")); + Err(anyhow!("error deserializing latest release")) } } }