2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 01:05:31 +00:00

fix export

This commit is contained in:
dignifiedquire 2020-06-18 13:10:37 +02:00
parent 1c1c168e1b
commit 06a2fb8c4f

View file

@ -64,6 +64,7 @@ mod timer {
pub type Timer = smol::Timer;
}
#[cfg(any(feature = "unstable", feature = "default"))]
pub(crate) fn timer_after(dur: std::time::Duration) -> timer::Timer {
#[cfg(not(target_os = "unknown"))]
once_cell::sync::Lazy::force(&crate::rt::RUNTIME);