Skip to content

Commit

Permalink
Update tokio/src/runtime/task/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
agayev and hawkw committed Nov 10, 2022
1 parent 75bee34 commit 3ab3bdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tokio/src/runtime/task/mod.rs
Expand Up @@ -227,11 +227,15 @@ pub struct Id(u64);
/// **Note**: This is an [unstable API][unstable]. The public API of this type
/// may break in 1.x releases. See [the documentation on unstable
/// features][unstable] for details.
/// **Note**: This is an [unstable API][unstable]. The public API of this type
/// may break in 1.x releases. See [the documentation on unstable
/// features][unstable] for details.
///
/// [task ID]: crate::task::Id
/// [task ID]: crate::task::Id
/// [task ID]: crate::task::Id
/// [task ID]: crate::task::Id
/// [task ID]: crate::task::Id
#[cfg_attr(not(tokio_unstable), allow(unreachable_pub))]
#[track_caller]
pub fn id() -> Id {
Expand Down

0 comments on commit 3ab3bdf

Please sign in to comment.