You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"unnecessary braces around for iterator expression" have effect on program behavior #160741
use std::sync::{Arc,Mutex};structFoo{apples:Vec<u32>,orange:u32,}fnmain(){let data = Arc::new(Mutex::new(Foo{apples:vec![1,2,3],orange:0}));for a in{ data.lock().unwrap().apples.clone()}{
data.lock().unwrap().orange += a;}println!("Oranges {}", data.lock().unwrap().orange);}
Activity
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Rollup merge of rust-lang#162181 - chenyukang:yukang-fix-160741-unuse…
Unrolled build for #162181 in rollup 162229
Rollup merge of #162181 - chenyukang:yukang-fix-160741-unused-braces-…