We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce3f85 commit 31c8205Copy full SHA for 31c8205
src/libcore/sync/atomic.rs
@@ -1807,7 +1807,7 @@ new value. Returns a `Result` of `Ok(previous_value)` if the function returned `
1807
1808
Note: This may call the function multiple times if the value has been changed from other threads in
1809
the meantime, as long as the function returns `Some(_)`, but the function will have been applied
1810
-but once to the stored value.
+only once to the stored value.
1811
1812
`fetch_update` takes two [`Ordering`] arguments to describe the memory ordering of this operation.
1813
The first describes the required ordering for when the operation finally succeeds while the second
0 commit comments