diff --git a/activitystreams-derive/Cargo.toml b/activitystreams-derive/Cargo.toml index 2814117..3910035 100644 --- a/activitystreams-derive/Cargo.toml +++ b/activitystreams-derive/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "activitystreams-derive" description = "Derive macros for activitystreams" -version = "0.1.0" +version = "0.1.1" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/Aardwolf/activitystreams" diff --git a/activitystreams-derive/src/lib.rs b/activitystreams-derive/src/lib.rs index 80f308c..d13c55f 100644 --- a/activitystreams-derive/src/lib.rs +++ b/activitystreams-derive/src/lib.rs @@ -413,7 +413,7 @@ pub fn properties_derive(input: TokenStream) -> TokenStream { /// a lot. /// /// Possible errors from this method are `Error::Serialize` - pub #set_fn_plural(&mut self, item: Vec<#variant>) -> ::activitystreams_traits::Result<()> { + pub fn #set_fn_plural(&mut self, item: Vec<#variant>) -> ::activitystreams_traits::Result<()> { self.#ident = ::activitystreams_traits::properties::to_value(item)?; Ok(()) }