mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Fix minor error in Arc docs
The text says it's a vector of floats, but the code actually uses a vector of integers. The type of the Vec doesn't really matter, so I just cut it from the text.
This commit is contained in:
parent
be3d390cf5
commit
11e65ebe31
@ -93,7 +93,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
|
|||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// In this example, a large vector of floats is shared between several threads.
|
/// In this example, a large vector is shared between several threads.
|
||||||
/// With simple pipes, without `Arc`, a copy would have to be made for each
|
/// With simple pipes, without `Arc`, a copy would have to be made for each
|
||||||
/// thread.
|
/// thread.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user