Fixed one newly created instance of range(start, end).
This commit is contained in:
parent
5fa9222572
commit
9e9b1d6085
@ -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 || {
|
||||
|
Loading…
x
Reference in New Issue
Block a user