summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main.rs1
-rw-r--r--server/src/trans.rs1
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;