diff --git a/connect/src/model.rs b/connect/src/model.rs index 8e9a5a57..a080f968 100644 --- a/connect/src/model.rs +++ b/connect/src/model.rs @@ -134,9 +134,7 @@ impl ResolveContext { /// the actual context uri pub fn context_uri(&self) -> &str { - self.context - .uri.as_deref() - .unwrap_or_default() + self.context.uri.as_deref().unwrap_or_default() } pub fn autoplay(&self) -> bool { diff --git a/core/src/version.rs b/core/src/version.rs index e206997b..0e48a47a 100644 --- a/core/src/version.rs +++ b/core/src/version.rs @@ -29,7 +29,8 @@ pub const SPOTIFY_PROPERTY_SET_ID: &str = "b4c7e4b5835079ed94391b2e65fca0fdba65e pub const SPOTIFY_MOBILE_VERSION: &str = "8.9.82.620"; /// `property_set_id` related to mobile version 8.9.82.620 -pub const SPOTIFY_MOBILE_PROPERTY_SET_ID: &str = "5ec87c2cc32e7c509703582cfaaa3c7ad253129d5701127c1f5eab5c9531736c"; +pub const SPOTIFY_MOBILE_PROPERTY_SET_ID: &str = + "5ec87c2cc32e7c509703582cfaaa3c7ad253129d5701127c1f5eab5c9531736c"; /// The general spirc version pub const SPOTIFY_SPIRC_VERSION: &str = "3.2.6";