Skip to content

Commit

Permalink
Merge pull request #381 from eval-exec/exec/neat
Browse files Browse the repository at this point in the history
Minor change: make code more neat
  • Loading branch information
driftluo authored Nov 28, 2024
2 parents 2f4a0a1 + 2f7b151 commit d44926e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tentacle/src/runtime/tokio_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ use std::{io, net::SocketAddr};
use tokio::net::TcpSocket as TokioTcp;

#[cfg(feature = "tokio-timer")]
pub use time::{interval, Interval};
#[cfg(feature = "tokio-timer")]
pub use tokio::time::{sleep as delay_for, timeout, MissedTickBehavior, Sleep as Delay, Timeout};
pub use {
time::{interval, Interval},
tokio::time::{sleep as delay_for, timeout, MissedTickBehavior, Sleep as Delay, Timeout},
};

#[cfg(feature = "tokio-timer")]
mod time {
Expand Down

0 comments on commit d44926e

Please sign in to comment.