diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-06-23 09:09:13 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-06-23 09:09:13 +0200 |
| commit | 929bda8984995791f9702d8a38a06de00d3e555a (patch) | |
| tree | 573123c0ddb7465bc4e7dc25e22b77af5af65fec /server/src | |
| parent | 4320977e4040d44dcdb346db1bf2d8ca6c5d316e (diff) | |
clippy: Random fixups
Diffstat (limited to 'server/src')
| -rw-r--r-- | server/src/main.rs | 1 | ||||
| -rw-r--r-- | server/src/trans.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index dab0cb2..7a6b1b7 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1502,6 +1502,7 @@ fn rocket_from_config(figment: Figment) -> Rocket<Build> { .attach(authorized_keys::stage()) } +#[allow(clippy::result_large_err)] #[rocket::main] async fn main() -> Result<(), rocket::Error> { let mut api = MainApi::openapi(); diff --git a/server/src/trans.rs b/server/src/trans.rs index bbf0600..065f27b 100644 --- a/server/src/trans.rs +++ b/server/src/trans.rs @@ -1,6 +1,5 @@ #![allow(dead_code)] -use anyhow; use futures::stream::TryStreamExt; use rocket_db_pools::{sqlx, Database, Pool}; use sorted_insert::SortedInsertByKey; |
