removing warning

This commit is contained in:
shockrah 2021-03-30 22:44:09 -07:00
parent 4cbbfdd7a2
commit 41202507c1

View File

@ -97,7 +97,7 @@ impl Message {
"author" => uid, "author" => uid,
"channel" => cid "channel" => cid
}).await; }).await;
if let Ok(ret) = res { if let Ok(_) = res {
// now save the data to disk // now save the data to disk
match fs::File::create(content_ref).await { match fs::File::create(content_ref).await {
Ok(mut file) => { Ok(mut file) => {