diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index f0ba02db..e1a961bc 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-macros" -version = "0.1.0" +version = "0.1.1" authors = ["Nikolay Kim "] description = "Actix runtime macros" repository = "https://github.com/actix/actix-net" diff --git a/actix-macros/LICENSE-APACHE b/actix-macros/LICENSE-APACHE new file mode 120000 index 00000000..965b606f --- /dev/null +++ b/actix-macros/LICENSE-APACHE @@ -0,0 +1 @@ +../LICENSE-APACHE \ No newline at end of file diff --git a/actix-macros/LICENSE-MIT b/actix-macros/LICENSE-MIT new file mode 120000 index 00000000..76219eb7 --- /dev/null +++ b/actix-macros/LICENSE-MIT @@ -0,0 +1 @@ +../LICENSE-MIT \ No newline at end of file diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index 811abff0..ec270f28 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -71,7 +71,7 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream { if input.sig.asyncness.is_none() { return syn::Error::new_spanned( input.sig.fn_token, - format!("only async fn is supported, {:?}", input.sig.ident), + format!("only async fn is supported, {}", input.sig.ident), ) .to_compile_error() .into();