diff --git a/cli/generate/src/render.rs b/cli/generate/src/render.rs index e369e2c9..85bb1360 100644 --- a/cli/generate/src/render.rs +++ b/cli/generate/src/render.rs @@ -26,6 +26,7 @@ const ABI_VERSION_WITH_RESERVED_WORDS: usize = 15; const BUILD_VERSION: &str = env!("CARGO_PKG_VERSION"); const BUILD_SHA: Option<&'static str> = option_env!("BUILD_SHA"); +#[clippy::format_args] macro_rules! add { ($this: tt, $($arg: tt)*) => {{ $this.buffer.write_fmt(format_args!($($arg)*)).unwrap(); @@ -40,6 +41,7 @@ macro_rules! add_whitespace { }}; } +#[clippy::format_args] macro_rules! add_line { ($this: tt, $($arg: tt)*) => { add_whitespace!($this);