mirror of https://github.com/fafhrd91/actix-net
fix typo
This commit is contained in:
parent
98c795eadf
commit
6b33dc67ad
|
@ -67,7 +67,7 @@ pub fn main(args: TokenStream, item: TokenStream) -> TokenStream {
|
|||
}
|
||||
},
|
||||
_ => {
|
||||
return syn::Error::new_spanned(arg, "Unkown attribute specified")
|
||||
return syn::Error::new_spanned(arg, "Unknown attribute specified")
|
||||
.to_compile_error()
|
||||
.into();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
error: Unkown attribute specified
|
||||
error: Unknown attribute specified
|
||||
--> $DIR/main-06-unknown-attr.rs:1:18
|
||||
|
|
||||
1 | #[actix_rt::main(foo = "bar")]
|
||||
|
|
Loading…
Reference in New Issue