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

feat: Export sync::notify::Notified publicly. #3840

Merged
merged 2 commits into from Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions tokio/src/sync/futures.rs
@@ -0,0 +1,3 @@
//! Sync future types.

pub use super::notify::Notified;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does the documentation for the Notified type look?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
Like this. (Fixed the link in the last commit)

2 changes: 2 additions & 0 deletions tokio/src/sync/mod.rs
Expand Up @@ -428,6 +428,8 @@
//! bounding of any kind.

cfg_sync! {
pub mod futures;

yotamofek marked this conversation as resolved.
Show resolved Hide resolved
mod barrier;
pub use barrier::{Barrier, BarrierWaitResult};

Expand Down