diff options
author | Blas Rodriguez Irizar <rodrigblas@gmail.com> | 2020-07-20 23:29:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 14:29:25 -0700 |
commit | 32f46d7b883e1447833630464f168bb160fb51c9 (patch) | |
tree | 199ce08e9bdc59cc5b5e48e7b9a8445d1d2b797b /tokio/src/time | |
parent | 356c81c97780f69f0897f4797d87a9cc2620678c (diff) |
time: improve Entry field comment (#2671)
Applying a suggestion from #2617 to make the sentence more clear.
Diffstat (limited to 'tokio/src/time')
-rw-r--r-- | tokio/src/time/driver/entry.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tokio/src/time/driver/entry.rs b/tokio/src/time/driver/entry.rs index 8e1e6b2f..b375ee9d 100644 --- a/tokio/src/time/driver/entry.rs +++ b/tokio/src/time/driver/entry.rs @@ -30,7 +30,8 @@ pub(crate) struct Entry { /// Timer internals. Using a weak pointer allows the timer to shutdown /// without all `Delay` instances having completed. /// - /// When `None`, the entry has not yet been linked with a timer instance. + /// When empty, it means that the entry has not yet been linked with a + /// timer instance. inner: Weak<Inner>, /// Tracks the entry state. This value contains the following information: |