Rollup merge of #50219 - ralfbiedert:master, r=frewsxcv
Added missing `.` in docs.
This commit is contained in:
commit
438f3ca01c
@ -60,7 +60,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
|
||||
/// ## Thread Safety
|
||||
///
|
||||
/// Unlike [`Rc<T>`], `Arc<T>` uses atomic operations for its reference
|
||||
/// counting This means that it is thread-safe. The disadvantage is that
|
||||
/// counting. This means that it is thread-safe. The disadvantage is that
|
||||
/// atomic operations are more expensive than ordinary memory accesses. If you
|
||||
/// are not sharing reference-counted values between threads, consider using
|
||||
/// [`Rc<T>`] for lower overhead. [`Rc<T>`] is a safe default, because the
|
||||
|
Loading…
x
Reference in New Issue
Block a user