Skip to content

Commit 3e8d099

Browse files
committed
Rollup merge of #24625 - frewsxcv:patch-16, r=steveklabnik
As far as I can tell, this conversion to integer to floating point does not need to happen and is beside the point
2 parents 81b603e + be08d35 commit 3e8d099

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

0 commit comments

Comments
 (0)