1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

chore: remove fluent crate override

This commit is contained in:
Rob Ede
2022-08-28 18:43:05 +01:00
parent 818d8b1384
commit 0319f18995
5 changed files with 9 additions and 14 deletions

View File

@ -9,7 +9,7 @@ async fn hello() -> &'static str {
#[post("/stop/{graceful}")]
async fn stop(Path(graceful): Path<bool>, stop_handle: web::Data<StopHandle>) -> HttpResponse {
let _ = stop_handle.stop(graceful);
stop_handle.stop(graceful);
HttpResponse::NoContent().finish()
}