diff options
| author | Ralf Biedert <rb@xr.io> | 2018-04-25 14:14:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-25 14:14:43 +0200 |
| commit | 1bcb267651c2f4a840e928d9309c240d146a335b (patch) | |
| tree | 6595a0666445cbf0224c2005577e40e5af0b442c /src/liballoc | |
| parent | 5ec6637c15c5a19b45990f931e0e748d4a02d97e (diff) | |
| download | rust-1bcb267651c2f4a840e928d9309c240d146a335b.tar.gz rust-1bcb267651c2f4a840e928d9309c240d146a335b.zip | |
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 |
