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:
commit
e4c7bb9ea7
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue