Browse Source

Fix a typo in comment.

Jing Yang 4 năm trước cách đây
mục cha
commit
6416092cb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/versioned_parker/mod.rs

+ 1 - 1
src/versioned_parker/mod.rs

@@ -9,7 +9,7 @@ use std::time::Duration;
 /// method and several `notify` methods. The `wait` method blocks the current
 /// thread, while the `notify` methods unblocks waiting threads. Each time
 /// `notify` is called, the parker version is increased. When a blocked thread
-/// waits up, it can check the internal counter and learn how many times it has
+/// wakes up, it can check the internal counter and learn how many times it has
 /// been notified. The version can be obtained by calling method
 /// [`VersionedParker::version()`].
 ///