diff options
author | Vika <vika@fireburn.ru> | 2021-12-06 20:49:58 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-06 21:00:02 +0300 |
commit | c02037628e36e71e528b3c76ffb88dc103d73228 (patch) | |
tree | e0d78a61af2f6e1ca7effcca1722f0da31293c05 /src/micropub/get.rs | |
parent | 9a9776230ce8d12d305ca8db19cc76f20ae40926 (diff) | |
download | kittybox-c02037628e36e71e528b3c76ffb88dc103d73228.tar.zst |
Make rustfmt and clippy happy
Diffstat (limited to 'src/micropub/get.rs')
-rw-r--r-- | src/micropub/get.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/micropub/get.rs b/src/micropub/get.rs index 9732281..718714a 100644 --- a/src/micropub/get.rs +++ b/src/micropub/get.rs @@ -24,7 +24,7 @@ where match &*query.q { "config" => { let channels: Vec<MicropubChannel>; - match backend.get_channels(&user.me.as_str()).await { + match backend.get_channels(user.me.as_str()).await { Ok(chans) => channels = chans, Err(err) => return Ok(err.into()) } @@ -36,7 +36,7 @@ where }, "channel" => { let channels: Vec<MicropubChannel>; - match backend.get_channels(&user.me.as_str()).await { + match backend.get_channels(user.me.as_str()).await { Ok(chans) => channels = chans, Err(err) => return Ok(err.into()) } |