Simplify alloc::arc::Arc example in doc-comment

As far as I can tell, this conversion to integer to floating point does not need to happen and is beside the point
This commit is contained in:
Corey Farwell 2015-04-20 08:57:06 -04:00
parent 5910dc0e8e
commit be08d35c8f

View file

@ -103,7 +103,7 @@ use heap::deallocate;
/// use std::thread;
///
/// fn main() {
/// let numbers: Vec<_> = (0..100u32).map(|i| i as f32).collect();
/// let numbers: Vec<_> = (0..100u32).collect();
/// let shared_numbers = Arc::new(numbers);
///
/// for _ in 0..10 {