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:
parent
f9aeea7cb7
commit
42055e37c5
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue