mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Apply some clippy suggestions
This commit is contained in:
parent
e26444c982
commit
0926d912eb
4 changed files with 6 additions and 8 deletions
|
|
@ -71,9 +71,7 @@ mod imp {
|
|||
|
||||
self.remaining_time_label.set_label(&format_time(
|
||||
player
|
||||
.duration_ms()
|
||||
.checked_sub(current_time_ms)
|
||||
.unwrap_or(0),
|
||||
.duration_ms().saturating_sub(current_time_ms),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue