Skip to content

Commit e4c7bb9

Browse files
committed
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.
2 parents d5a777c + 11e65eb commit e4c7bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/arc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize;
9393
///
9494
/// # Examples
9595
///
96-
/// In this example, a large vector of floats is shared between several threads.
96+
/// In this example, a large vector is shared between several threads.
9797
/// With simple pipes, without `Arc`, a copy would have to be made for each
9898
/// thread.
9999
///

0 commit comments

Comments
 (0)