1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

strings: builder: write_b()

This commit is contained in:
João Victor Oliveira Couto
2019-12-06 17:02:09 -03:00
committed by Alexander Medvednikov
parent 55f32fc413
commit 5a8c07dcf5
8 changed files with 26 additions and 5 deletions

View File

@ -74,7 +74,7 @@ pub fn (aa mut Automaton) update() {
aa.new_field.set(x,y, if v { 1 } else { 0 })
}
}
mut tmp := aa.field
tmp := aa.field
aa.field = aa.new_field
aa.new_field = tmp
}