mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 04:46:58 +00:00
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
@ -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…
Reference in New Issue
Block a user