diff options
author | Alice Ryhl <alice@ryhl.io> | 2020-10-02 06:13:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 21:13:28 -0700 |
commit | 7ec6d88b21ea3e5531176f526a51dae0a4513025 (patch) | |
tree | 6b4f289567fce7033551910c684c8358da4a58d8 /tokio/src/sync/oneshot.rs | |
parent | 13de30c53eb90a5453f1cecf47b188e254a293ac (diff) |
chore: make #[doc(hidden)] apis private (#2901)
Diffstat (limited to 'tokio/src/sync/oneshot.rs')
-rw-r--r-- | tokio/src/sync/oneshot.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tokio/src/sync/oneshot.rs b/tokio/src/sync/oneshot.rs index 32506bc3..951ab71d 100644 --- a/tokio/src/sync/oneshot.rs +++ b/tokio/src/sync/oneshot.rs @@ -196,8 +196,7 @@ impl<T> Sender<T> { Ok(()) } - #[doc(hidden)] // TODO: remove - pub fn poll_closed(&mut self, cx: &mut Context<'_>) -> Poll<()> { + fn poll_closed(&mut self, cx: &mut Context<'_>) -> Poll<()> { // Keep track of task budget let coop = ready!(crate::coop::poll_proceed(cx)); |