diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 15:16:25 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-17 17:27:01 -0800 |
| commit | c14cf4dc868a9468dcf0a106a84dcafd859707fc (patch) | |
| tree | fd71c3cd0d1bbee935fb3d524a4d977c2226db87 /src | |
| parent | d8ba8b00a7be7c9aba8fb5a6c0174e526c5a3d4d (diff) | |
| parent | 42055e37c5a9376447e16872caa156a9d3578082 (diff) | |
| download | rust-c14cf4dc868a9468dcf0a106a84dcafd859707fc.tar.gz rust-c14cf4dc868a9468dcf0a106a84dcafd859707fc.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/liballoc/rc.rs | 2 |
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] |
