File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1092,7 +1092,7 @@ impl AtomicBool {
1092
1092
1093
1093
/// Returns a mutable pointer to the underlying [`bool`].
1094
1094
///
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.
1096
1096
/// This method is mostly useful for FFI, where the function signature may use
1097
1097
/// `*mut bool` instead of `&AtomicBool`.
1098
1098
///
@@ -2031,7 +2031,7 @@ impl<T> AtomicPtr<T> {
2031
2031
2032
2032
/// Returns a mutable pointer to the underlying pointer.
2033
2033
///
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.
2035
2035
/// This method is mostly useful for FFI, where the function signature may use
2036
2036
/// `*mut *mut T` instead of `&AtomicPtr<T>`.
2037
2037
///
You can’t perform that action at this time.
0 commit comments