From 42055e37c5a9376447e16872caa156a9d3578082 Mon Sep 17 00:00:00 2001 From: Artem Date: Tue, 17 Feb 2015 22:15:46 +0300 Subject: 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. --- src/liballoc/rc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc') 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 { weak: Cell } -/// 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] -- cgit 1.4.1-3-g733a5