Fixed one newly created instance of range(start, end).

This commit is contained in:
Nick Sarten 2015-02-07 11:44:45 +13:00
parent 5fa9222572
commit 9e9b1d6085

View File

@ -354,7 +354,7 @@ use std::sync::mpsc;
fn main() {
let (tx, rx) = mpsc::channel();
for _ in range(0, 10) {
for _ in 0..10 {
let tx = tx.clone();
Thread::spawn(move || {