Reorder derives

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
This commit is contained in:
Serial 2021-07-07 21:36:06 -04:00
parent 5e641bab28
commit 09c248c6c9

View file

@ -143,12 +143,12 @@ pub enum TagType {
AiffText, AiffText,
} }
#[derive(Clone, Debug, PartialEq)]
#[cfg(any( #[cfg(any(
feature = "format-vorbis", feature = "format-vorbis",
feature = "format-opus", feature = "format-opus",
feature = "format-flac" feature = "format-flac"
))] ))]
#[derive(Clone, Debug, PartialEq)]
/// File formats using vorbis comments /// File formats using vorbis comments
pub enum OggFormat { pub enum OggFormat {
#[cfg(feature = "format-vorbis")] #[cfg(feature = "format-vorbis")]
@ -162,8 +162,8 @@ pub enum OggFormat {
Flac, Flac,
} }
#[derive(Clone, Debug, PartialEq)]
#[cfg(feature = "format-id3")] #[cfg(feature = "format-id3")]
#[derive(Clone, Debug, PartialEq)]
/// ID3 tag's underlying format /// ID3 tag's underlying format
pub enum Id3Format { pub enum Id3Format {
/// MP3 /// MP3