diff --git a/cranelift/codegen/meta/src/srcgen.rs b/cranelift/codegen/meta/src/srcgen.rs index ad8db175d7..0e8d4eccf0 100644 --- a/cranelift/codegen/meta/src/srcgen.rs +++ b/cranelift/codegen/meta/src/srcgen.rs @@ -19,19 +19,19 @@ static SHIFTWIDTH: usize = 4; /// strings. macro_rules! fmtln { ($fmt:ident, $fmtstring:expr, $($fmtargs:expr),*) => { - $fmt.line(format!($fmtstring, $($fmtargs),*)); + $fmt.line(format!($fmtstring, $($fmtargs),*)) }; ($fmt:ident, $arg:expr) => { - $fmt.line($arg); + $fmt.line($arg) }; ($_:tt, $($args:expr),+) => { - compile_error!("This macro requires at least two arguments: the Formatter instance and a format string."); + compile_error!("This macro requires at least two arguments: the Formatter instance and a format string.") }; ($_:tt) => { - compile_error!("This macro requires at least two arguments: the Formatter instance and a format string."); + compile_error!("This macro requires at least two arguments: the Formatter instance and a format string.") }; } diff --git a/crates/cache/src/worker.rs b/crates/cache/src/worker.rs index b3df2802b1..0a1271998c 100644 --- a/crates/cache/src/worker.rs +++ b/crates/cache/src/worker.rs @@ -556,7 +556,7 @@ impl WorkerThread { vec.push(CacheEntry::Unrecognized { path: $path.to_path_buf(), is_dir: $is_dir, - }); + }) }; } macro_rules! add_unrecognized_and { diff --git a/crates/debug/src/transform/expression.rs b/crates/debug/src/transform/expression.rs index 2898be76a1..377b9b6447 100644 --- a/crates/debug/src/transform/expression.rs +++ b/crates/debug/src/transform/expression.rs @@ -386,7 +386,7 @@ impl CompiledExpression { } } else { return Ok(None); - }; + } }; } for part in &self.parts {