about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-26 10:11:16 +0200
committerGitHub <noreply@github.com>2018-04-26 10:11:16 +0200
commit438f3ca01c325fcf5e2f0080c8a78b6b4a3f9095 (patch)
tree464fa9e5490932ce1b2bf6049d399b48c691cd1d /src/liballoc
parent8f6b42711f4e8b32332261b83ca76f07b4062367 (diff)
parent1bcb267651c2f4a840e928d9309c240d146a335b (diff)
downloadrust-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.rs2
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