mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-22 03:40:59 +00:00
Fix proc macro
This commit is contained in:
parent
f558aefdf3
commit
35040b68f2
2 changed files with 2 additions and 2 deletions
|
@ -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 <asonix.dev@gmail.com>"]
|
||||
repository = "https://git.asonix.dog/Aardwolf/activitystreams"
|
||||
|
|
|
@ -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(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue