diff --git a/crates/webreg/src/main.rs b/crates/webreg/src/main.rs index ccb15d4..34cd908 100644 --- a/crates/webreg/src/main.rs +++ b/crates/webreg/src/main.rs @@ -86,7 +86,7 @@ async fn main() -> ExitCode { /// /// # Parameters /// - `state`: The wrapper state, which is a reference to all valid scrapers and other relevant -/// information. +/// information. async fn shutdown_signal(state: Arc) { tokio::signal::ctrl_c() .await diff --git a/crates/webreg/src/server/middleware/term_validator.rs b/crates/webreg/src/server/middleware/term_validator.rs index 7c372d4..0b7e391 100644 --- a/crates/webreg/src/server/middleware/term_validator.rs +++ b/crates/webreg/src/server/middleware/term_validator.rs @@ -2,7 +2,7 @@ use std::sync::Arc; -use axum::extract::{Path, State, Request}; +use axum::extract::{Path, Request, State}; use axum::http::StatusCode; use axum::middleware::Next; use axum::response::IntoResponse;