From 6bdc0fea5a2fb4f6b88eb96a245e959f8140ab2d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 15:43:08 +0100 Subject: [PATCH] Fix clippy: Remove unneeded return statement Signed-off-by: Matthias Beyer --- src/mastodon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mastodon.rs b/src/mastodon.rs index 9f58ab3..4223a21 100644 --- a/src/mastodon.rs +++ b/src/mastodon.rs @@ -427,7 +427,7 @@ impl Mastodon { }, Err(err) => { error!(path = as_debug!(path), error = as_debug!(err); "error reading file contents for multipart form"); - return Err(err.into()); + Err(err.into()) }, } }