about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-07-08 13:14:19 +0530
committerGitHub <noreply@github.com>2016-07-08 13:14:19 +0530
commit8242a30b9e1a7b70fa90b175508acf7f8d9320ca (patch)
tree773eb9eb63556f5d16fa2230a1be737c791b6eb5 /src/liballoc
parent9b4e2a5b2d410318051a38e6b7da10b45975d022 (diff)
parent46e7c9ec74ec437ca64bc095e7196f59e0d74148 (diff)
downloadrust-8242a30b9e1a7b70fa90b175508acf7f8d9320ca.tar.gz
rust-8242a30b9e1a7b70fa90b175508acf7f8d9320ca.zip
Rollup merge of #34097 - arbitrary-cat:master, r=steveklabnik
Revise wording in Rc documentation.

The term "thread-local" has a widely accepted meaning which is not
the meaning it's used for here.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index a873be455d5..2beb652aa01 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -10,7 +10,8 @@
 
 #![allow(deprecated)]
 
-//! Thread-local reference-counted boxes (the `Rc<T>` type).
+//! Unsynchronized reference-counted boxes (the `Rc<T>` type) which are usable
+//! only within a single thread.
 //!
 //! The `Rc<T>` type provides shared ownership of an immutable value.
 //! Destruction is deterministic, and will occur as soon as the last owner is