From f5ccd21f09e2ca5f26ff63a2d3815669064e36f0 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 18 May 2021 18:50:13 +0300 Subject: Make rustfmt happy again after Clippy edits --- src/database/redis/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/database') diff --git a/src/database/redis/mod.rs b/src/database/redis/mod.rs index cf94386..e64120f 100644 --- a/src/database/redis/mod.rs +++ b/src/database/redis/mod.rs @@ -167,10 +167,7 @@ impl Storage for RedisStorage { |post: Option| { post.map(|post| MicropubChannel { uid: post["properties"]["uid"][0].as_str().unwrap().to_string(), - name: post["properties"]["name"][0] - .as_str() - .unwrap() - .to_string(), + name: post["properties"]["name"][0].as_str().unwrap().to_string(), }) }, ) -- cgit 1.4.1