Skip to content

Commit dacef10

Browse files
authored
Merge pull request #3880 from kadiwa4/revert_3711
Revert #3711
2 parents 60c3a5f + 8355b06 commit dacef10

File tree

1 file changed

+1
-1
lines changed
  • listings/ch16-fearless-concurrency/listing-16-15/src

1 file changed

+1
-1
lines changed

listings/ch16-fearless-concurrency/listing-16-15/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn main() {
55
let counter = Arc::new(Mutex::new(0));
66
let mut handles = vec![];
77

8-
for _ in 0..=10 {
8+
for _ in 0..10 {
99
let counter = Arc::clone(&counter);
1010
let handle = thread::spawn(move || {
1111
let mut num = counter.lock().unwrap();

0 commit comments

Comments
 (0)