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()
|
.to_compile_error()
|
||||||
.into();
|
.into();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
error: Unkown attribute specified
|
error: Unknown attribute specified
|
||||||
--> $DIR/main-06-unknown-attr.rs:1:18
|
--> $DIR/main-06-unknown-attr.rs:1:18
|
||||||
|
|
|
|
||||||
1 | #[actix_rt::main(foo = "bar")]
|
1 | #[actix_rt::main(foo = "bar")]
|
||||||
|
|
Loading…
Reference in New Issue