Skip to content

Commit 70462d0

Browse files
committed
More clippy fixes
1 parent 6e5d2a2 commit 70462d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/console/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl Console {
5151
}
5252
self.formatter.format(&mut message, value)?
5353
}
54-
log::log!(target: &self.target, level, "{}", message);
54+
log::log!(target: &self.target, level, "{message}");
5555
Ok(())
5656
}
5757
}

modules/timers/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn set_timeout_interval<'js>(
5959
}
6060

6161
if let Err(err) = cb.call::<(), ()>(()) {
62-
log::error!(target: TARGET, "Failed to call timeout/interval callback: {}", err);
62+
log::error!(target: TARGET, "Failed to call timeout/interval callback: {err}");
6363
break;
6464
}
6565

0 commit comments

Comments
 (0)