Skip to content

Commit 31c8205

Browse files
sfacklerRalfJung
andauthored
Update src/libcore/sync/atomic.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 2ce3f85 commit 31c8205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ new value. Returns a `Result` of `Ok(previous_value)` if the function returned `
18071807
18081808
Note: This may call the function multiple times if the value has been changed from other threads in
18091809
the meantime, as long as the function returns `Some(_)`, but the function will have been applied
1810-
but once to the stored value.
1810+
only once to the stored value.
18111811
18121812
`fetch_update` takes two [`Ordering`] arguments to describe the memory ordering of this operation.
18131813
The first describes the required ordering for when the operation finally succeeds while the second

0 commit comments

Comments
 (0)