Skip to content

Commit 3a0396b

Browse files
authored
Rollup merge of rust-lang#97155 - alygin:patch-1, r=JohnTitor
Fix doc typo Fixes a minor doc typo for `atomic::fence()`.
2 parents 93083c0 + 3a11614 commit 3a0396b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,7 @@ unsafe fn atomic_umin<T: Copy>(dst: *mut T, val: T, order: Ordering) -> T {
28302830
/// A fence 'A' which has (at least) [`Release`] ordering semantics, synchronizes
28312831
/// with a fence 'B' with (at least) [`Acquire`] semantics, if and only if there
28322832
/// exist operations X and Y, both operating on some atomic object 'M' such
2833-
/// that A is sequenced before X, Y is synchronized before B and Y observes
2833+
/// that A is sequenced before X, Y is sequenced before B and Y observes
28342834
/// the change to M. This provides a happens-before dependence between A and B.
28352835
///
28362836
/// ```text

0 commit comments

Comments
 (0)