app: clear the clippy warnings and the vendored ones

Our crate is warning-free under `cargo clippy --all-targets`. The two
vendored crates warned about an unreachable expression and a qualified
path; both are silenced at their crate root so a normal build prints
nothing.
This commit is contained in:
vhaudiquet committed 2026-11-15 23:09:15 +01:00
1 parent 744aa20496
commit 01a92f1edf
8 files changed
+31 -46

No files matched your search

+11 -10
View File
@@ -100,17 +100,18 @@ pub fn tick(app: &mut App, tx: &mut Tx) -> bool {
app.review.time = time;
changed = true;
}
if let Some(duration) = player.duration() {
if duration > 0.0 && (duration - app.review.duration).abs() > 0.05 {
app.review.duration = duration;
changed = true;
}
if let Some(duration) = player.duration()
&& duration > 0.0
&& (duration - app.review.duration).abs() > 0.05
{
app.review.duration = duration;
changed = true;
}
if app.review.error.is_none() {
if let rune::PlayerState::Failed(message) = player.state() {
app.review.error = Some(message);
changed = true;
}
if app.review.error.is_none()
&& let rune::PlayerState::Failed(message) = player.state()
{
app.review.error = Some(message);
changed = true;
}
if player.is_playing() {
tx.wake_after(std::time::Duration::from_millis(33));