Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Commit e775be8

Browse files
josephlraep
authored andcommitted
Fix unused_parens warnings
1 parent 60edbd9 commit e775be8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/elf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ impl Elf {
701701
}
702702
}
703703

704-
Ok((r))
704+
Ok(r)
705705
}
706706
pub fn insert_section(&mut self, at: usize, sec: Section) -> Result<(), Error> {
707707
self.sections.insert(at, sec);

src/relocation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ impl Relocation {
188188

189189
elf_write_u64!(eh, io, self.addend as u64)?;
190190

191-
Ok((8+8+8))
191+
Ok(8+8+8)
192192
}
193193
}

0 commit comments

Comments
 (0)