From 2e90cba5bd122c66c968ae1637fe7fdb28794a75 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 9 Jan 2023 23:47:47 +0100 Subject: [PATCH] put some ASCII includes behind alloc feature --- src/time/ascii.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/time/ascii.rs b/src/time/ascii.rs index 9a028c1..2ae32fe 100644 --- a/src/time/ascii.rs +++ b/src/time/ascii.rs @@ -3,8 +3,7 @@ //! See [chrono::DateTime::format] for a usage example of the generated //! [chrono::format::DelayedFormat] structs. #[cfg(feature = "alloc")] -use chrono::format::{DelayedFormat, StrftimeItems}; -use chrono::{DateTime, Utc}; +use chrono::{DateTime, Utc, format::{DelayedFormat, StrftimeItems}}; /// Tuple of format string and formatted size for time code A. ///