Skip to content

Commit ea635fe

Browse files
committed
Add import crate
1 parent b251fc9 commit ea635fe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/future/future.rs

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ cfg_if::cfg_if! {
99
}
1010
}
1111

12+
cfg_if::cfg_if! {
13+
if #[cfg(any(feature = "unstable"))] {
14+
mod delay;
15+
16+
use std::time::Duration;
17+
use delay::DelayFuture;
18+
}
19+
}
20+
1221
extension_trait! {
1322
#[doc = r#"
1423
A future represents an asynchronous computation.

0 commit comments

Comments
 (0)