We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a097a1f commit 82419b0Copy full SHA for 82419b0
rust/codegen/src/rust.rs
@@ -80,12 +80,12 @@ struct RustGenerator<'a> {
80
}
81
82
macro_rules! gen {
83
- ($this:expr, $($arg:tt)+) => { write!($this.output.module_content, $($arg)+).unwrap(); };
+ ($this:expr, $($arg:tt)+) => { write!($this.output.module_content, $($arg)+).unwrap() };
84
85
86
macro_rules! genln {
87
- ($this:expr) => { writeln!($this.output.module_content).unwrap(); };
88
- ($this:expr, $($arg:tt)+) => { writeln!($this.output.module_content, $($arg)+).unwrap(); };
+ ($this:expr) => { writeln!($this.output.module_content).unwrap() };
+ ($this:expr, $($arg:tt)+) => { writeln!($this.output.module_content, $($arg)+).unwrap() };
89
90
91
#[rustfmt::skip::macros(gen, genln)]
0 commit comments