diff options
| author | Jonas Spinner <jonas.spinner@student.kit.edu> | 2022-11-22 11:06:57 +0100 |
|---|---|---|
| committer | Jonas Spinner <jonas.spinner@student.kit.edu> | 2022-11-22 11:06:57 +0100 |
| commit | 70bba3b62aa604063fb884602bf3a45dad990fe2 (patch) | |
| tree | 766fcadb6153909f9c9ba09e81bea0e9ed7154db | |
| parent | 0f7d81754db66d46ee9aa033735a1ee5c1daa44d (diff) | |
| download | rust-70bba3b62aa604063fb884602bf3a45dad990fe2.tar.gz rust-70bba3b62aa604063fb884602bf3a45dad990fe2.zip | |
rustdoc: Fix backoff doc to match implementation
| -rw-r--r-- | library/std/src/sync/mpmc/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/mpmc/utils.rs b/library/std/src/sync/mpmc/utils.rs index d0904b4b94c..e030c55ce8f 100644 --- a/library/std/src/sync/mpmc/utils.rs +++ b/library/std/src/sync/mpmc/utils.rs @@ -136,7 +136,7 @@ impl Backoff { } } - /// Returns `true` if exponential backoff has completed and blocking the thread is advised. + /// Returns `true` if quadratic backoff has completed and blocking the thread is advised. #[inline] pub fn is_completed(&self) -> bool { self.step.get() > YIELD_LIMIT |
