From 11e65ebe31751484a82e64e76326b24aa6e69a42 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 15 Oct 2015 13:52:51 -0700 Subject: [PATCH] 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. --- src/liballoc/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 8c12b9d94ba9..d8f10e6780f8 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. ///