Explorar o código

Fix a typo in comment.

Jing Yang %!s(int64=4) %!d(string=hai) anos
pai
achega
6416092cb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()`].
 ///