Skip to content

Commit 11e65eb

Browse files
committed
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.
1 parent be3d390 commit 11e65eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
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)