summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/park.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime/park.rs')
-rw-r--r--tokio/src/runtime/park.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/runtime/park.rs b/tokio/src/runtime/park.rs
index c3bbe9c0..ee437d1d 100644
--- a/tokio/src/runtime/park.rs
+++ b/tokio/src/runtime/park.rs
@@ -113,7 +113,7 @@ impl Unpark for Unparker {
}
impl Inner {
- /// Park the current thread for at most `dur`.
+ /// Parks the current thread for at most `dur`.
fn park(&self) {
for _ in 0..3 {
// If we were previously notified then we consume this notification and