1
Fork 0

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.
This commit is contained in:
Artem 2015-02-17 22:15:46 +03:00
parent f9aeea7cb7
commit 42055e37c5

View file

@ -170,7 +170,7 @@ struct RcBox<T> {
weak: Cell<usize> 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. /// See the [module level documentation](./index.html) for more details.
#[unsafe_no_drop_flag] #[unsafe_no_drop_flag]