Skip to content

Commit

Permalink
Work around proc macro hygiene change
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin authored Dec 4, 2017
1 parent bd94eee commit b3445d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
#[must_root]
#[repr(C)]
};
let attributes = attributes.to_string().parse().unwrap();
iter::once(attributes).chain(iter::once(input)).collect()
}

0 comments on commit b3445d7

Please sign in to comment.