Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Feb 19, 2024
1 parent 174b08b commit aec55fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openmls/src/credentials/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl std::fmt::Debug for Certificate {
.write(ee.as_slice()).map_err(|_| std::fmt::Error)?;

let out = process.wait_with_output().map_err(|_| std::fmt::Error)?.stdout;
String::from_utf8(out).map_err(|_| std::fmt::Error)?
String::from_utf8(out).map_err(|_| std::fmt::Error)?.trim().to_string()
} else { "".to_string() };
write!(f, "id: {id}\nx509: {x509}")?;
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion openmls/src/extensions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ pub struct Extensions {

impl std::fmt::Debug for Extensions {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", self.unique)
write!(f, "{:#?}", self.unique)
}
}

Expand Down

0 comments on commit aec55fa

Please sign in to comment.