diff --git a/c2rust-transpile/src/translator/mod.rs b/c2rust-transpile/src/translator/mod.rs index dee088cc5e..0e93cda23c 100644 --- a/c2rust-transpile/src/translator/mod.rs +++ b/c2rust-transpile/src/translator/mod.rs @@ -4108,9 +4108,7 @@ impl<'c> Translation<'c> { return Ok(WithStmts::new(stmts, val)); } - _ => { - stmts.push(stmt) - } + _ => stmts.push(stmt), } } diff --git a/dynamic_instrumentation/src/callbacks.rs b/dynamic_instrumentation/src/callbacks.rs index b09f26d30f..bb0a111bf8 100644 --- a/dynamic_instrumentation/src/callbacks.rs +++ b/dynamic_instrumentation/src/callbacks.rs @@ -14,8 +14,8 @@ use rustc_span::def_id::LocalDefId; use rustc_span::symbol::Ident; use rustc_span::DUMMY_SP; -use thin_vec::ThinVec; use crate::instrument::Instrumenter; +use thin_vec::ThinVec; pub static INSTRUMENTER: Lazy = Lazy::new(Instrumenter::new);