mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
doc: alias sleep to delay (#3604)
This commit is contained in:
@@ -152,6 +152,8 @@ pin_project! {
|
||||
///
|
||||
/// [`select!`]: ../macro.select.html
|
||||
/// [`tokio::pin!`]: ../macro.pin.html
|
||||
// Alias for old name in 0.2
|
||||
#[cfg_attr(docsrs, doc(alias = "Delay"))]
|
||||
#[derive(Debug)]
|
||||
#[must_use = "futures do nothing unless you `.await` or poll them"]
|
||||
pub struct Sleep {
|
||||
|
||||
Reference in New Issue
Block a user