Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
botahamec committed Jun 15, 2022
1 parent 6afb356 commit 16df3a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/naive/datetime/mod.rs
Expand Up @@ -21,7 +21,7 @@ use crate::naive::date::{MAX_DATE, MIN_DATE};
use crate::naive::time::{MAX_TIME, MIN_TIME};
use crate::naive::{IsoWeek, NaiveDate, NaiveTime};
use crate::oldtime::Duration as OldDuration;
use crate::{Datelike, Timelike, Weekday, DateTime, LocalResult, TimeZone};
use crate::{DateTime, Datelike, LocalResult, TimeZone, Timelike, Weekday};

#[cfg(feature = "rustc-serialize")]
pub(super) mod rustc_serialize;
Expand Down
4 changes: 2 additions & 2 deletions src/naive/datetime/tests.rs
@@ -1,7 +1,7 @@
use super::NaiveDateTime;
use crate::naive::{NaiveDate, MAX_DATE, MIN_DATE};
use crate::oldtime::Duration;
use crate::{Datelike, Utc, FixedOffset};
use crate::{Datelike, FixedOffset, Utc};
use std::i64;

#[test]
Expand Down Expand Up @@ -252,4 +252,4 @@ fn test_and_timezone() {
let dt_offset = ndt.and_timezone(offset_tz).unwrap();
assert_eq!(dt_offset.naive_local(), ndt);
assert_eq!(dt_offset.timezone(), offset_tz);
}
}

0 comments on commit 16df3a2

Please sign in to comment.