Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Unpin's documentation for Sleep #5916

Merged
merged 1 commit into from Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tokio-stream/Cargo.toml
Expand Up @@ -37,7 +37,7 @@ signal = ["tokio/signal"]

[dependencies]
futures-core = { version = "0.3.0" }
pin-project-lite = "0.2.7"
pin-project-lite = "0.2.11"
tokio = { version = "1.15.0", path = "../tokio", features = ["sync"] }
tokio-util = { version = "0.7.0", path = "../tokio-util", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion tokio-util/Cargo.toml
Expand Up @@ -40,7 +40,7 @@ futures-core = "0.3.0"
futures-sink = "0.3.0"
futures-io = { version = "0.3.0", optional = true }
futures-util = { version = "0.3.0", optional = true }
pin-project-lite = "0.2.7"
pin-project-lite = "0.2.11"
slab = { version = "0.4.4", optional = true } # Backs `DelayQueue`
tracing = { version = "0.1.25", default-features = false, features = ["std"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion tokio/Cargo.toml
Expand Up @@ -96,7 +96,7 @@ stats = []
[dependencies]
tokio-macros = { version = "~2.1.0", path = "../tokio-macros", optional = true }

pin-project-lite = "0.2.7"
pin-project-lite = "0.2.11"

# Everything else is optional...
bytes = { version = "1.0.0", optional = true }
Expand Down
1 change: 1 addition & 0 deletions tokio/src/time/sleep.rs
Expand Up @@ -220,6 +220,7 @@ pin_project! {
/// [`select!`]: ../macro.select.html
/// [`tokio::pin!`]: ../macro.pin.html
// Alias for old name in 0.2
#[project(!Unpin)]
#[cfg_attr(docsrs, doc(alias = "Delay"))]
#[derive(Debug)]
#[must_use = "futures do nothing unless you `.await` or poll them"]
Expand Down