Skip to content

Commit 8b07202

Browse files
Merge pull request #171 from SimonSapin/patch-1
Work around proc macro hygiene change
2 parents bd94eee + b3445d7 commit 8b07202

File tree

1 file changed

+1
-0
lines changed
  • collector/benchmarks/script-servo/components/dom_struct

1 file changed

+1
-0
lines changed

collector/benchmarks/script-servo/components/dom_struct/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
1919
#[must_root]
2020
#[repr(C)]
2121
};
22+
let attributes = attributes.to_string().parse().unwrap();
2223
iter::once(attributes).chain(iter::once(input)).collect()
2324
}

0 commit comments

Comments
 (0)