Skip to content

Commit 7376167

Browse files
committed
run cargo fmt
1 parent 7c2050f commit 7376167

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

c2rust-transpile/src/translator/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -4108,9 +4108,7 @@ impl<'c> Translation<'c> {
41084108

41094109
return Ok(WithStmts::new(stmts, val));
41104110
}
4111-
_ => {
4112-
stmts.push(stmt)
4113-
}
4111+
_ => stmts.push(stmt),
41144112
}
41154113
}
41164114

dynamic_instrumentation/src/callbacks.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ use rustc_span::def_id::LocalDefId;
1414
use rustc_span::symbol::Ident;
1515
use rustc_span::DUMMY_SP;
1616

17-
use thin_vec::ThinVec;
1817
use crate::instrument::Instrumenter;
18+
use thin_vec::ThinVec;
1919

2020
pub static INSTRUMENTER: Lazy<Instrumenter> = Lazy::new(Instrumenter::new);
2121

0 commit comments

Comments
 (0)