about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-10-15 13:52:51 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-10-15 13:52:51 -0700
commit11e65ebe31751484a82e64e76326b24aa6e69a42 (patch)
tree08e3d3cdcb9221a6472c9463fd6d4651b69be4bb /src
parentbe3d390cf51545b880c5cd78585fa408c087f786 (diff)
downloadrust-11e65ebe31751484a82e64e76326b24aa6e69a42.tar.gz
rust-11e65ebe31751484a82e64e76326b24aa6e69a42.zip
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.
Diffstat (limited to 'src')
-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.
 ///