diff options
author | Juan Alvarez <j@yabit.io> | 2020-10-08 22:35:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 20:35:12 -0700 |
commit | 60d81bbe10faf344ea18438a1c5ecb9173e6ec52 (patch) | |
tree | 4a6b64401944b62ffa872147e5738eb28e70d4ec /tokio/src/time/error.rs | |
parent | b704c53b9cc76eaf8c9c6585f8444c4515d27728 (diff) |
time: rename `Delay` future to `Sleep` (#2932)
Diffstat (limited to 'tokio/src/time/error.rs')
-rw-r--r-- | tokio/src/time/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/time/error.rs b/tokio/src/time/error.rs index a022f78f..7154a330 100644 --- a/tokio/src/time/error.rs +++ b/tokio/src/time/error.rs @@ -13,7 +13,7 @@ use std::fmt; /// succeed in the future. /// /// * `at_capacity` occurs when a timer operation is attempted, but the timer -/// instance is currently handling its maximum number of outstanding delays. +/// instance is currently handling its maximum number of outstanding sleep instances. /// In this case, the operation is not able to be performed at the current /// moment, and `at_capacity` is returned. This is a transient error, i.e., at /// some point in the future, if the operation is attempted again, it might |