Skip to content

Commit 1bae661

Browse files
ibraheemdevyvt
andauthored
tidy
Co-authored-by: yvt <[email protected]>
1 parent 9de1d7c commit 1bae661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/thread/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ pub fn sleep(dur: Duration) {
880880
/// * It can be implemented very efficiently on many platforms.
881881
///
882882
/// # Memory Orderings
883-
///
883+
///
884884
/// Calls to `park` _synchronize-with_ calls to `unpark`, meaning that memory
885885
/// operations performed before a call to `unpark` are made visible to the thread that
886886
/// consumes the token and returns from `park`. Note that all `park` and `unpark`
@@ -890,7 +890,7 @@ pub fn sleep(dur: Duration) {
890890
/// In atomic ordering terms, `unpark` performs a `Release` operation and `park`
891891
/// performs the corresponding `Acquire` operation. Calls to `unpark` for the same
892892
/// thread form a [release sequence].
893-
///
893+
///
894894
/// Notice that being unblocked does not imply any synchronization with someone that
895895
/// unparked this thread, it could also be spurious. For example, it would be a valid,
896896
/// but inefficient, implementation to make both park and unpark return immediately

0 commit comments

Comments
 (0)