Fix clippy pedantic warnings (#204)

This commit is contained in:
Gnome!
2023-11-09 11:42:41 +00:00
committed by Kyle Simpson
parent 63d48ee597
commit 3d307aaa8b
22 changed files with 96 additions and 64 deletions

View File

@@ -94,7 +94,7 @@ where
// 2) track's position is approx 30s
// 3) track's play time is considerably less (O(5s))
let state = handle.get_info();
t_handle.spawn_ticker().await;
t_handle.spawn_ticker();
let state = state.await.expect("Should have received valid state.");
assert_eq!(state.ready, ReadyState::Playable);
@@ -134,7 +134,7 @@ where
// 2) track's position is approx 1s
// 3) track's play time is preserved (About 4s)
let state = handle.get_info();
t_handle.spawn_ticker().await;
t_handle.spawn_ticker();
let state = state.await.expect("Should have received valid state.");
assert_eq!(state.ready, ReadyState::Playable);