1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00
This commit is contained in:
Nikolay Kim
2019-06-05 08:43:13 +06:00
parent ae64475d98
commit a548b69679
4 changed files with 9 additions and 8 deletions

View File

@ -156,4 +156,4 @@ pub fn patch(args: TokenStream, input: TokenStream) -> TokenStream {
let args = parse_macro_input!(args as syn::AttributeArgs);
let gen = route::Args::new(&args, input, route::GuardType::Patch);
gen.generate()
}
}

View File

@ -29,7 +29,7 @@ pub enum GuardType {
Connect,
Options,
Trace,
Patch
Patch,
}
impl fmt::Display for GuardType {