1
0
Fork 0
forked from wry/wry

all: fix clippy warnings

This commit is contained in:
Julian Orth 2025-07-01 09:31:21 +02:00
parent 70912b47e4
commit 64664ca76e
5 changed files with 6 additions and 9 deletions

View file

@ -304,7 +304,7 @@ impl Display for Mode {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(f, "{} x {}", self.width, self.height)?;
if let Some(rr) = self.refresh_rate {
write!(f, " @ {}", rr)?;
write!(f, " @ {rr}")?;
}
Ok(())
}