diff --git a/src/commands.rs b/src/commands.rs index af1fe7e..96ad1f4 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -104,7 +104,6 @@ pub enum ResponseParserError<'a> { /// Response ended early, while more properties were expected. UnexpectedEOF, - // MissingNewline, } diff --git a/src/common/types.rs b/src/common/types.rs index 1d9f095..dd20c39 100644 --- a/src/common/types.rs +++ b/src/common/types.rs @@ -35,4 +35,4 @@ pub type Feature = String; pub type PartitionName = String; pub type AudioOutputId = String; pub type ChannelName = String; -pub type StickerType = String; \ No newline at end of file +pub type StickerType = String; diff --git a/src/common/types/absolute_relative_song_position.rs b/src/common/types/absolute_relative_song_position.rs index b87ba59..7865a34 100644 --- a/src/common/types/absolute_relative_song_position.rs +++ b/src/common/types/absolute_relative_song_position.rs @@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize}; use super::SongPosition; - #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub enum AbsouluteRelativeSongPosition { Absolute(SongPosition), @@ -22,4 +21,4 @@ impl FromStr for AbsouluteRelativeSongPosition { s => Self::Absolute(s.parse().map_err(|_| ())?), }) } -} \ No newline at end of file +} diff --git a/src/common/types/audio.rs b/src/common/types/audio.rs index b6ef157..2672b49 100644 --- a/src/common/types/audio.rs +++ b/src/common/types/audio.rs @@ -2,7 +2,6 @@ use std::str::FromStr; use serde::{Deserialize, Serialize}; - #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct Audio { pub sample_rate: u64, @@ -24,4 +23,4 @@ impl FromStr for Audio { channels, }) } -} \ No newline at end of file +} diff --git a/src/common/types/bool_or_oneshot.rs b/src/common/types/bool_or_oneshot.rs index 6affc76..3960b62 100644 --- a/src/common/types/bool_or_oneshot.rs +++ b/src/common/types/bool_or_oneshot.rs @@ -20,4 +20,4 @@ impl FromStr for BoolOrOneshot { _ => return Err(()), }) } -} \ No newline at end of file +} diff --git a/src/common/types/one_or_range.rs b/src/common/types/one_or_range.rs index 556a4f8..388a280 100644 --- a/src/common/types/one_or_range.rs +++ b/src/common/types/one_or_range.rs @@ -21,4 +21,4 @@ impl FromStr for OneOrRange { None => Self::One(start), }) } -} \ No newline at end of file +} diff --git a/src/common/types/subsystem.rs b/src/common/types/subsystem.rs index 0fe0c33..de6a720 100644 --- a/src/common/types/subsystem.rs +++ b/src/common/types/subsystem.rs @@ -2,7 +2,6 @@ use std::str::FromStr; use serde::{Deserialize, Serialize}; - /// These are different parts of the canonical MPD server. /// They are mostly used in the protocol with the `idle` command, /// signalling that the client is waiting for changes in any, one or multiple of these subsystems. @@ -63,4 +62,4 @@ impl FromStr for SubSystem { other => Self::Other(other.to_string()), }) } -} \ No newline at end of file +} diff --git a/src/common/types/tag.rs b/src/common/types/tag.rs index e5a1c86..f88406b 100644 --- a/src/common/types/tag.rs +++ b/src/common/types/tag.rs @@ -118,4 +118,4 @@ impl Tag { other => Self::Other(other.to_string(), value), } } -} \ No newline at end of file +} diff --git a/src/common/types/time_interval.rs b/src/common/types/time_interval.rs index d7f0661..281bd7b 100644 --- a/src/common/types/time_interval.rs +++ b/src/common/types/time_interval.rs @@ -22,4 +22,4 @@ impl FromStr for TimeInterval { end: end.transpose()?, }) } -} \ No newline at end of file +} diff --git a/src/common/types/window_range.rs b/src/common/types/window_range.rs index 92e17b2..c869e86 100644 --- a/src/common/types/window_range.rs +++ b/src/common/types/window_range.rs @@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize}; use super::SongPosition; - #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct WindowRange { pub start: SongPosition, @@ -23,4 +22,4 @@ impl FromStr for WindowRange { end: end.transpose()?, }) } -} \ No newline at end of file +}