Skip to content

Commit 573a5b7

Browse files
committed
Fix unused imports in some configurations
1 parent dc57107 commit 573a5b7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/io.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
use crate::error::IoError;
2-
#[cfg(all(not(feature = "std"), feature = "alloc"))]
3-
use alloc::vec::Vec;
42

53
/// Provides IO error as an associated type.
64
///

src/time.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[cfg(feature = "chrono")]
12
use core::convert::TryFrom;
23
use core::fmt::Debug;
34

0 commit comments

Comments
 (0)