Skip to content

Commit

Permalink
(IGNORE) Remove redundant imports (#195)
Browse files Browse the repository at this point in the history
Co-authored-by: scouten-adobe <scouten-adobe@users.noreply.github.com>
  • Loading branch information
scouten-adobe and scouten-adobe authored Feb 21, 2024
1 parent 76ba3ba commit 3f5e47c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 14 deletions.
5 changes: 1 addition & 4 deletions src/tests/xmp_core_coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@

#![allow(dead_code)] // TEMPORARY while in development

use std::{
str::FromStr,
string::{String, ToString},
};
use std::str::FromStr;

use crate::{
tests::fixtures::*, xmp_ns, xmp_value::xmp_prop, FromStrOptions, ItemPlacement, IterOptions,
Expand Down
4 changes: 0 additions & 4 deletions src/tests/xmp_date_time_chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// each license.

mod from_date_time {
use std::convert::TryInto;

use chrono::{DateTime, Datelike, FixedOffset, Timelike};

use crate::{DateTimeConvertError, XmpDate, XmpDateTime, XmpTime, XmpTimeZone};
Expand Down Expand Up @@ -171,8 +169,6 @@ mod from_date_time {
}

mod to_date_time {
use std::convert::Into;

use chrono::{FixedOffset, NaiveDate};

use crate::{XmpDate, XmpDateTime, XmpTime, XmpTimeZone};
Expand Down
2 changes: 0 additions & 2 deletions src/tests/xmp_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3144,8 +3144,6 @@ mod set_localized_text {
}

mod sort {
use std::string::ToString;

use crate::{xmp_ns, XmpError, XmpErrorType, XmpMeta};

#[test]
Expand Down
3 changes: 0 additions & 3 deletions src/xmp_date_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@ impl fmt::Display for XmpDateTime {
}
}

#[cfg(feature = "chrono")]
use std::convert::TryFrom;

#[cfg(feature = "chrono")]
use chrono::{DateTime, Datelike, FixedOffset, LocalResult, NaiveDate, Timelike};
#[cfg(feature = "chrono")]
Expand Down
2 changes: 1 addition & 1 deletion src/xmp_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// specific language governing permissions and limitations under
// each license.

use std::{convert::From, fmt::Debug};
use std::fmt::Debug;

/// Describes a single property or item in an array property.
#[derive(Clone, Debug, Default, Eq, PartialEq)]
Expand Down

0 comments on commit 3f5e47c

Please sign in to comment.