Skip to content

Commit c14cf4d

Browse files
committed
rollup merge of #22460: ArtemGr/patch-1
An "immutable reference-counted pointer" is confusing, one might think that the `Rc` itself is immutable which isn't the case. cf. http://www.reddit.com/r/rust/comments/2w75wr/how_do_i_read_immutable_vector_inside_a_spawned/coo6mm2
2 parents d8ba8b0 + 42055e3 commit c14cf4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ struct RcBox<T> {
170170
weak: Cell<usize>
171171
}
172172

173-
/// An immutable reference-counted pointer type.
173+
/// A reference-counted pointer type over an immutable value.
174174
///
175175
/// See the [module level documentation](./index.html) for more details.
176176
#[unsafe_no_drop_flag]

0 commit comments

Comments
 (0)