about summary refs log tree commit diff
path: root/src/liballoc/arc.rs
diff options
context:
space:
mode:
authorUlysse Carion <ulysse@ulysse.io>2017-06-03 21:30:13 -0700
committerUlysse Carion <ulysse@ulysse.io>2017-06-03 21:47:26 -0700
commit8d9df99fbbefd4e394c932309c1453b5a92d93b3 (patch)
tree0742a2a3a5bae695c1e1100c30f82aaf26d820cc /src/liballoc/arc.rs
parent8f66fafebd13d46ffc0982f1ca336055dc657043 (diff)
downloadrust-8d9df99fbbefd4e394c932309c1453b5a92d93b3.tar.gz
rust-8d9df99fbbefd4e394c932309c1453b5a92d93b3.zip
Explicate what "Rc" and "Arc" stand for.
Diffstat (limited to 'src/liballoc/arc.rs')
-rw-r--r--src/liballoc/arc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 5faf4dcccaf..81e97334e3c 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -42,7 +42,8 @@ use heap::deallocate;
 /// necessarily) at _exactly_ `MAX_REFCOUNT + 1` references.
 const MAX_REFCOUNT: usize = (isize::MAX) as usize;
 
-/// A thread-safe reference-counting pointer.
+/// A thread-safe reference-counting pointer. "Arc" stands for "Atomically
+/// Reference Counted".
 ///
 /// The type `Arc<T>` provides shared ownership of a value of type `T`,
 /// allocated in the heap. Invoking [`clone`][clone] on `Arc` produces