diff options
author | Vika <vika@fireburn.ru> | 2021-05-18 18:50:13 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-18 18:50:13 +0300 |
commit | f5ccd21f09e2ca5f26ff63a2d3815669064e36f0 (patch) | |
tree | 1192f7f924a5141277064e26a3a151f1efd8cd32 /src/database/redis | |
parent | d178e35c34a9106dd6c0a86286ff56dc8b297942 (diff) | |
download | kittybox-f5ccd21f09e2ca5f26ff63a2d3815669064e36f0.tar.zst |
Make rustfmt happy again after Clippy edits
Diffstat (limited to 'src/database/redis')
-rw-r--r-- | src/database/redis/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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<serde_json::Value>| { 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(), }) }, ) |