1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00

clean up for rust fmt

This commit is contained in:
Jon Lim 2024-04-02 22:21:04 -07:00
parent 4fb51ad70a
commit bcc0bed4f5

View file

@ -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()