From 41202507c10c9b51f7fd026cf014ea69d3e4934d Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 30 Mar 2021 22:44:09 -0700 Subject: [PATCH] removing warning --- json-api/db/src/messages.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-api/db/src/messages.rs b/json-api/db/src/messages.rs index 1b4effa..c5b9739 100644 --- a/json-api/db/src/messages.rs +++ b/json-api/db/src/messages.rs @@ -97,7 +97,7 @@ impl Message { "author" => uid, "channel" => cid }).await; - if let Ok(ret) = res { + if let Ok(_) = res { // now save the data to disk match fs::File::create(content_ref).await { Ok(mut file) => {