refactor: cargo clippy
This commit is contained in:
parent
771cf72889
commit
c21762ac7e
5 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ impl Channel {
|
|||
|
||||
let channels: Result<Vec<Channel>, HttpResponse> = channels.into_iter().collect();
|
||||
|
||||
Ok(channels?)
|
||||
channels
|
||||
}
|
||||
|
||||
pub async fn fetch_one(pool: &Pool<Postgres>, guild_uuid: Uuid, channel_uuid: Uuid) -> Result<Self, HttpResponse> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue