Cleanup imports

This commit is contained in:
Serial 2022-01-28 12:28:52 -05:00
parent cb7abdb7af
commit 394f4b3c43

View file

@ -1,6 +1,9 @@
use crate::{LoftyError, Result}; use crate::error::{ErrorKind, LoftyError, Result};
#[cfg(feature = "id3v2")] #[cfg(feature = "id3v2")]
use {crate::id3::v2::util::text_utils::TextEncoding, crate::id3::v2::Id3v2Version}; use crate::{
error::{Id3v2Error, Id3v2ErrorKind},
id3::v2::{util::text_utils::TextEncoding, Id3v2Version},
};
use std::borrow::Cow; use std::borrow::Cow;
use std::fmt::{Debug, Formatter}; use std::fmt::{Debug, Formatter};
@ -12,7 +15,6 @@ use std::io::Write;
#[cfg(any(feature = "vorbis_comments", feature = "ape"))] #[cfg(any(feature = "vorbis_comments", feature = "ape"))]
use std::io::{Seek, SeekFrom}; use std::io::{Seek, SeekFrom};
use crate::error::{ErrorKind, Id3v2Error, Id3v2ErrorKind};
#[cfg(any(feature = "vorbis_comments"))] #[cfg(any(feature = "vorbis_comments"))]
use byteorder::BigEndian; use byteorder::BigEndian;
#[cfg(any(feature = "vorbis_comments", feature = "id3v2", feature = "ape"))] #[cfg(any(feature = "vorbis_comments", feature = "id3v2", feature = "ape"))]