Skip to content

Commit 83c659f

Browse files
committed
cargo fmt read.rs
1 parent 242153e commit 83c659f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

objdiff-core/src/obj/read.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,13 @@ fn map_symbol(
7474
{
7575
flags |= SymbolFlag::Hidden;
7676
}
77-
if file.format() == object::BinaryFormat::Coff
78-
{
79-
match symbol.name(){
77+
if file.format() == object::BinaryFormat::Coff {
78+
match symbol.name() {
8079
Ok(name) => {
81-
if name.starts_with("except_data_") || name.starts_with("__unwind") || name.starts_with("__catch") {
80+
if name.starts_with("except_data_")
81+
|| name.starts_with("__unwind")
82+
|| name.starts_with("__catch")
83+
{
8284
flags |= SymbolFlag::Hidden;
8385
}
8486
}

0 commit comments

Comments
 (0)