- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.8k
 
Open
Description
I believe that there is no need to use move here:
100-exercises-to-learn-rust/exercises/07_threads/02_static/src/lib.rs
Lines 10 to 11 in d347d1f
| let handle1 = thread::spawn(move || slice1.iter().sum::<i32>()); | |
| let handle2 = thread::spawn(move || slice2.iter().sum::<i32>()); | 
What do you think?
Thank you for the tutorial!
Metadata
Metadata
Assignees
Labels
No labels