add check step
This commit is contained in:
@ -45,7 +45,7 @@ async fn main() {
|
||||
}
|
||||
|
||||
#[allow(clippy::unused_async)]
|
||||
#[allow(clippy::unused)]
|
||||
#[allow(unused)]
|
||||
async fn await_shutdown(rx: mpsc::Receiver<bool>) -> Result<bool, mpsc::RecvError> {
|
||||
rx.recv()
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ use std::time::Duration;
|
||||
use axum::extract::Request;
|
||||
use axum::middleware::{Next, from_fn};
|
||||
use axum::response::Response;
|
||||
#[allow(unused_imports)]
|
||||
use axum::routing::{get, post};
|
||||
use axum::{Router, body::Body};
|
||||
use http::StatusCode;
|
||||
|
||||
Reference in New Issue
Block a user