diff --git a/tokio/src/task/builder.rs b/tokio/src/task/builder.rs index 5a128420ee2..2086302fb92 100644 --- a/tokio/src/task/builder.rs +++ b/tokio/src/task/builder.rs @@ -49,7 +49,7 @@ use std::future::Future; /// } /// } /// ``` -/// [unstable API]: crate#unstable-features +/// [unstable]: crate#unstable-features /// [`name`]: Builder::name /// [`spawn_local`]: Builder::spawn_local /// [`spawn`]: Builder::spawn diff --git a/tokio/src/task/join_set.rs b/tokio/src/task/join_set.rs index 3c5de553ebe..8e8f74f66d1 100644 --- a/tokio/src/task/join_set.rs +++ b/tokio/src/task/join_set.rs @@ -17,6 +17,10 @@ use crate::util::IdleNotifiedSet; /// /// When the `JoinSet` is dropped, all tasks in the `JoinSet` are immediately aborted. /// +/// **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. +/// /// # Examples /// /// Spawn multiple tasks and wait for them. @@ -42,6 +46,8 @@ use crate::util::IdleNotifiedSet; /// } /// } /// ``` +/// +/// [unstable]: crate#unstable-features pub struct JoinSet { inner: IdleNotifiedSet>, }