Skip to content

Commit

Permalink
mach: Fix MultiArch Debug impl panic (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jan 31, 2021
1 parent 312c2d4 commit c0a421f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mach/mod.rs
Expand Up @@ -410,7 +410,7 @@ impl<'a> MultiArch<'a> {
impl<'a> fmt::Debug for MultiArch<'a> {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
fmt.debug_struct("MultiArch")
.field("arches", &self.arches().unwrap())
.field("arches", &self.arches().unwrap_or_default())
.field("data", &self.data.len())
.finish()
}
Expand Down

0 comments on commit c0a421f

Please sign in to comment.