Fixed one newly created instance of range(start, end).
This commit is contained in:
parent
5fa9222572
commit
9e9b1d6085
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue