chore(toolchain): update (#1470)
* [create-pull-request] automated change * chore: cargo clippy --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ec7091fbc7
commit
b823dfaf6c
@@ -1,3 +1,3 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "1.78.0"
|
channel = "1.79.0"
|
||||||
components = ["rustfmt", "clippy", "rust-analyzer"]
|
components = ["rustfmt", "clippy", "rust-analyzer"]
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ use crate::spotify_worker::{Worker, WorkerCommand};
|
|||||||
|
|
||||||
/// One percent of the maximum supported [Player] volume, used when setting the volume to a certain
|
/// One percent of the maximum supported [Player] volume, used when setting the volume to a certain
|
||||||
/// percent.
|
/// percent.
|
||||||
pub const VOLUME_PERCENT: u16 = ((u16::max_value() as f64) * 1.0 / 100.0) as u16;
|
pub const VOLUME_PERCENT: u16 = ((u16::MAX as f64) * 1.0 / 100.0) as u16;
|
||||||
|
|
||||||
/// Events sent by the [Player].
|
/// Events sent by the [Player].
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize)]
|
#[derive(Clone, Debug, PartialEq, Eq, Serialize)]
|
||||||
|
|||||||
Reference in New Issue
Block a user