mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Merge pull request #296 from ahmedcharles/rustfmt
Add rustfmt_skip attribute.
This commit is contained in:
commit
308d908718
@ -178,6 +178,7 @@ impl<W:Write> RustWrite<W> {
|
||||
}
|
||||
|
||||
pub fn write_module_attributes(&mut self, grammar: &Grammar) -> io::Result<()> {
|
||||
rust!(self, "#![cfg_attr(rustfmt, rustfmt_skip)]");
|
||||
for attribute in grammar.module_attributes.iter() {
|
||||
rust!(self, "{}", attribute);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user