style: cargo clippy
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful

This commit is contained in:
Radical 2025-06-02 00:30:10 +02:00
parent 7021c80f02
commit c01570707d
2 changed files with 3 additions and 3 deletions

View file

@ -309,7 +309,7 @@ impl Channel {
.await
{
Ok(r) => Ok(Some(r)),
Err(e) if e == diesel::result::Error::NotFound => Ok(None),
Err(diesel::result::Error::NotFound) => Ok(None),
Err(e) => Err(e),
}?;
@ -328,7 +328,7 @@ impl Channel {
.await
{
Ok(r) => Ok(r),
Err(e) if e == diesel::result::Error::NotFound => Ok(0),
Err(diesel::result::Error::NotFound) => Ok(0),
Err(e) => Err(e),
}?;