1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

add license files to actix-macros

This commit is contained in:
Nikolay Kim 2019-12-14 23:01:55 +06:00
parent 37bedff6fb
commit a7ac1a76ed
4 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "actix-macros"
version = "0.1.0"
version = "0.1.1"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actix runtime macros"
repository = "https://github.com/actix/actix-net"

1
actix-macros/LICENSE-APACHE Symbolic link
View File

@ -0,0 +1 @@
../LICENSE-APACHE

1
actix-macros/LICENSE-MIT Symbolic link
View File

@ -0,0 +1 @@
../LICENSE-MIT

View File

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