Fix clippy pedantic warnings (#204)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user