mirror of
https://github.com/rust-lang/book.git
synced 2026-05-17 14:21:44 -04:00
Ch. 17: add some more explanatory comments to trpl
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
//! never be broken by upstream changes, e.g. if Tokio does a breaking 2.0
|
||||
//! release at some point.
|
||||
|
||||
// For direct use within the `trpl` crate, *not* re-exported.
|
||||
use std::{future::Future, pin::pin, time::Duration};
|
||||
use tokio::time;
|
||||
|
||||
// Re-exports, to be used like `trpl::join`.
|
||||
pub use futures::{
|
||||
future::{self, join, join3, join_all, Either},
|
||||
join,
|
||||
|
||||
Reference in New Issue
Block a user