about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-16 06:24:11 +0000
committerbors <bors@rust-lang.org>2015-10-16 06:24:11 +0000
commite4c7bb9ea76eb75fee5365a1eb3c399f2ea7b393 (patch)
tree79b731feee69579e2f153766041aa6c15c3f27a3
parentd5a777c17587aa5e0bfe4ae257cc9cb91a66280d (diff)
parent11e65ebe31751484a82e64e76326b24aa6e69a42 (diff)
downloadrust-e4c7bb9ea76eb75fee5365a1eb3c399f2ea7b393.tar.gz
rust-e4c7bb9ea76eb75fee5365a1eb3c399f2ea7b393.zip
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.
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 8c12b9d94ba..d8f10e6780f 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -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.
 ///