From 8bac3cc91fa1f44b68c47d9aa20ce544e0f9bee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 18 Dec 2022 23:43:58 +0300 Subject: [PATCH] fix(lints): apply clippy suggestions for tests --- src/paste.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paste.rs b/src/paste.rs index 44e26bb..9a2aee8 100644 --- a/src/paste.rs +++ b/src/paste.rs @@ -343,7 +343,7 @@ mod tests { .await?; let file_path = PasteType::RemoteFile .get_path(&config.server.upload_path) - .join(&file_name); + .join(file_name); assert_eq!( "8c712905b799905357b8202d0cb7a244cefeeccf7aa5eb79896645ac50158ffa", util::sha256_digest(&*paste.data)?