Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Damir Jelić <[email protected]>
  • Loading branch information
richvdh and poljar authored Mar 20, 2024
1 parent a253fa5 commit 18be85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/olm/session/double_ratchet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ impl RatchetCount {
impl Debug for RatchetCount {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
match self {
RatchetCount::Known(count) => f.write_fmt(format_args!("{}", count)),
RatchetCount::Unknown(_) => f.write_str("<unknown>"),
RatchetCount::Known(count) => write!(f, "{count}"),
RatchetCount::Unknown(_) => write!(f, "<unknown>"),
}
}
}

0 comments on commit 18be85a

Please sign in to comment.