about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorArtem <artemciy@gmail.com>2015-02-17 22:15:46 +0300
committerArtem <artemciy@gmail.com>2015-02-17 22:15:46 +0300
commit42055e37c5a9376447e16872caa156a9d3578082 (patch)
tree448b8d04cdbaf911d43942af8c26f7f9413f3eca /src
parentf9aeea7cb7865a2b82e7102837daabbe549177ea (diff)
downloadrust-42055e37c5a9376447e16872caa156a9d3578082.tar.gz
rust-42055e37c5a9376447e16872caa156a9d3578082.zip
Rc itself isn't immutable.
An "immutable reference-counted pointer" is confusing, one might think that the `Rc` itself is immutable which isn't the case.
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index ab3c0901bc9..fb73521af56 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -170,7 +170,7 @@ struct RcBox<T> {
     weak: Cell<usize>
 }
 
-/// An immutable reference-counted pointer type.
+/// A reference-counted pointer type over an immutable value.
 ///
 /// See the [module level documentation](./index.html) for more details.
 #[unsafe_no_drop_flag]