diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-03-20 15:54:55 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-20 15:54:55 +0000 |
| commit | 3845288ffb0418cc375430dd366a1a49ccee6f5a (patch) | |
| tree | 1e35124eaade02da8f32ff7eac5dca58fc867c28 /embassy-stm32/src/rtc/datetime.rs | |
| parent | 6eb539a6a12a2c48dab694725db775f03058bf0b (diff) | |
| parent | e5b9b5b3e95a82dbbc15c0688781bfb6fee572ac (diff) | |
Merge pull request #2718 from embassy-rs/update-nightly44
Update nightly Rust.
Diffstat (limited to 'embassy-stm32/src/rtc/datetime.rs')
| -rw-r--r-- | embassy-stm32/src/rtc/datetime.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/embassy-stm32/src/rtc/datetime.rs b/embassy-stm32/src/rtc/datetime.rs index ef92fa4bb..2bad79923 100644 --- a/embassy-stm32/src/rtc/datetime.rs +++ b/embassy-stm32/src/rtc/datetime.rs | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | #[cfg(feature = "chrono")] | 1 | #[cfg(feature = "chrono")] |
| 2 | use core::convert::From; | 2 | use chrono::{Datelike, NaiveDate, Timelike, Weekday}; |
| 3 | |||
| 4 | #[cfg(feature = "chrono")] | ||
| 5 | use chrono::{self, Datelike, NaiveDate, Timelike, Weekday}; | ||
| 6 | 3 | ||
| 7 | #[cfg(any(feature = "defmt", feature = "time"))] | 4 | #[cfg(any(feature = "defmt", feature = "time"))] |
| 8 | use crate::peripherals::RTC; | 5 | use crate::peripherals::RTC; |
