Skip to content

Commit 25c8002

Browse files
committed
Fix usage of proc_macro2::Punct.
Restructure stdarch-gen-arm to use `Group`s with `Delimiter`s rather than ad-hoc `Punct`s. `Punct` should only be used to represent specific characters, and never for bracket-like characters. Recent versions of `Punct::new` check this with an assertion. Note that there doesn't appear to be a way to emit a line break for formatting reasons — `Punct::new('\n', ...)` no longer works — so this also removes all blank lines between functions in the generated files.
1 parent cf10e91 commit 25c8002

File tree

5 files changed

+52
-3254
lines changed

5 files changed

+52
-3254
lines changed

0 commit comments

Comments
 (0)