Chore: Clippy fixes for new lints
This commit is contained in:
@@ -66,7 +66,7 @@ impl Ord for EventData {
|
||||
.as_ref()
|
||||
.expect("T2 known to be well-defined by above.");
|
||||
|
||||
t1.cmp(&t2)
|
||||
t1.cmp(t2)
|
||||
} else {
|
||||
Ordering::Equal
|
||||
}
|
||||
|
||||
@@ -210,7 +210,7 @@ impl GlobalEvents {
|
||||
.expect("Missing handle index for Tick (local timed).");
|
||||
|
||||
event_store
|
||||
.process_timed(state.play_time, EventContext::Track(&[(&state, &handle)]))
|
||||
.process_timed(state.play_time, EventContext::Track(&[(state, handle)]))
|
||||
.await;
|
||||
}
|
||||
}
|
||||
@@ -238,7 +238,7 @@ impl GlobalEvents {
|
||||
.process_untimed(
|
||||
state.position,
|
||||
untimed,
|
||||
EventContext::Track(&[(&state, &handle)]),
|
||||
EventContext::Track(&[(state, handle)]),
|
||||
)
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user