aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.rs
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2023-02-06 17:13:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-06 17:13:08 +0000
commit28aa86009a5eab4ba6d63844d34c5b4b41038203 (patch)
treed585fc992b047e0d1fb217f44c39d241d2c81c72 /src/runtime/runtime.rs
parent6d9e152041be899074b952a8f0d1d5b1c73d2a05 (diff)
parent65647f91f23b1650e6783e09c178803ec888efb4 (diff)
downloadtokio-28aa86009a5eab4ba6d63844d34c5b4b41038203.tar.gz
Upgrade tokio to 1.25.0 am: a77df93fec am: 65647f91f2
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/tokio/+/2421506 Change-Id: I67638423614c339172fce0fa096cb3faf41af23c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'src/runtime/runtime.rs')
-rw-r--r--src/runtime/runtime.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/runtime.rs b/src/runtime/runtime.rs
index 9ede0a7..1985673 100644
--- a/src/runtime/runtime.rs
+++ b/src/runtime/runtime.rs
@@ -163,9 +163,9 @@ impl Runtime {
/// thread pool. The thread pool is then responsible for polling the future
/// until it completes.
///
- /// You do not have to `.await` the returned `JoinHandle` to make the
- /// provided future start execution. It will start running in the
- /// background immediately when `spawn` is called.
+ /// The provided future will start running in the background immediately
+ /// when `spawn` is called, even if you don't await the returned
+ /// `JoinHandle`.
///
/// See [module level][mod] documentation for more details.
///