mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: make v test-cleancode
test everything by default (#10050)
This commit is contained in:
@ -14,9 +14,7 @@ mut:
|
||||
// this function gets an array of channels for `St` references
|
||||
fn do_rec_calc_send(chs []chan mut St) {
|
||||
for {
|
||||
mut s := <-chs[0] or {
|
||||
break
|
||||
}
|
||||
mut s := <-chs[0] or { break }
|
||||
s.n++
|
||||
chs[1] <- s
|
||||
}
|
||||
|
Reference in New Issue
Block a user