Auto merge of #29081 - rust-lang:arc-example-edit, r=alexcrichton

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:
bors 2015-10-16 06:24:11 +00:00
commit e4c7bb9ea7

View File

@ -93,7 +93,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
///
/// # 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
/// thread.
///