Add Error impls if std feature is used #2

Merged
nehlichp merged 4 commits from add_error_impls_for_std_feature into main 2022-12-12 11:54:53 +01:00
Showing only changes of commit afd59b14fc - Show all commits

View File

@ -273,6 +273,7 @@ impl TimeReader for CdsShortTimeProvider {
/// See [chrono::DateTime::format] for a usage example of the generated /// See [chrono::DateTime::format] for a usage example of the generated
/// [chrono::format::DelayedFormat] structs. /// [chrono::format::DelayedFormat] structs.
pub mod ascii { pub mod ascii {
#[cfg(feature = "alloc")]
use chrono::format::{DelayedFormat, StrftimeItems}; use chrono::format::{DelayedFormat, StrftimeItems};
use chrono::{DateTime, Utc}; use chrono::{DateTime, Utc};