mirror of https://github.com/fafhrd91/actix-web
clean up for rust fmt
This commit is contained in:
parent
4fb51ad70a
commit
bcc0bed4f5
|
@ -373,9 +373,10 @@ async fn test_auto_async() {
|
|||
|
||||
#[scope("/test")]
|
||||
mod scope_module {
|
||||
use crate::guard_module;
|
||||
use actix_web::{delete, get, post, route, routes, web, HttpResponse, Responder};
|
||||
|
||||
use crate::guard_module;
|
||||
|
||||
#[get("/test/guard", guard = "guard_module::guard")]
|
||||
pub async fn test_guard() -> impl Responder {
|
||||
HttpResponse::Ok()
|
||||
|
|
Loading…
Reference in New Issue