diff options
| author | Ulysse Carion <ulysse@ulysse.io> | 2017-06-05 12:07:54 -0700 |
|---|---|---|
| committer | Ulysse Carion <ulysse@ulysse.io> | 2017-06-05 12:07:54 -0700 |
| commit | 1af0cb165065ebca5296a7b5841ebec9bfb40476 (patch) | |
| tree | 0e37b3d1579fd4ac678c962dd5deb84ed20e9207 /src/liballoc/rc.rs | |
| parent | 8d9df99fbbefd4e394c932309c1453b5a92d93b3 (diff) | |
| download | rust-1af0cb165065ebca5296a7b5841ebec9bfb40476.tar.gz rust-1af0cb165065ebca5296a7b5841ebec9bfb40476.zip | |
Use single quotes, and doc the Rc struct itself.
Diffstat (limited to 'src/liballoc/rc.rs')
| -rw-r--r-- | src/liballoc/rc.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index d5d003ed5bb..1f3388ad2c2 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -10,8 +10,8 @@ #![allow(deprecated)] -//! Single-threaded reference-counting pointers. "Rc" stands for "Reference -//! Counted". +//! Single-threaded reference-counting pointers. 'Rc' stands for 'Reference +//! Counted'. //! //! The type [`Rc<T>`][`Rc`] provides shared ownership of a value of type `T`, //! allocated in the heap. Invoking [`clone`][clone] on [`Rc`] produces a new @@ -267,7 +267,8 @@ struct RcBox<T: ?Sized> { value: T, } -/// A single-threaded reference-counting pointer. +/// A single-threaded reference-counting pointer. 'Rc' stands for 'Reference +/// Counted'. /// /// See the [module-level documentation](./index.html) for more details. /// |
