diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-26 10:11:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-26 10:11:16 +0200 |
| commit | 438f3ca01c325fcf5e2f0080c8a78b6b4a3f9095 (patch) | |
| tree | 464fa9e5490932ce1b2bf6049d399b48c691cd1d /src/liballoc | |
| parent | 8f6b42711f4e8b32332261b83ca76f07b4062367 (diff) | |
| parent | 1bcb267651c2f4a840e928d9309c240d146a335b (diff) | |
| download | rust-438f3ca01c325fcf5e2f0080c8a78b6b4a3f9095.tar.gz rust-438f3ca01c325fcf5e2f0080c8a78b6b4a3f9095.zip | |
Rollup merge of #50219 - ralfbiedert:master, r=frewsxcv
Added missing `.` in docs.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index f5980f4599e..e52a0216dd3 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -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 |
