File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1092,7 +1092,7 @@ impl AtomicBool {
10921092
10931093 /// Returns a mutable pointer to the underlying [`bool`].
10941094 ///
1095- /// Doing non-atomic reads and writes on the resulting integer can be a data race.
1095+ /// Doing non-atomic reads and writes on the resulting boolean can be a data race.
10961096 /// This method is mostly useful for FFI, where the function signature may use
10971097 /// `*mut bool` instead of `&AtomicBool`.
10981098 ///
@@ -2031,7 +2031,7 @@ impl<T> AtomicPtr<T> {
20312031
20322032 /// Returns a mutable pointer to the underlying pointer.
20332033 ///
2034- /// Doing non-atomic reads and writes on the resulting integer can be a data race.
2034+ /// Doing non-atomic reads and writes on the resulting pointer can be a data race.
20352035 /// This method is mostly useful for FFI, where the function signature may use
20362036 /// `*mut *mut T` instead of `&AtomicPtr<T>`.
20372037 ///
You can’t perform that action at this time.
0 commit comments