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

checker: check if mut function arg is declared as mut (#5579)

This commit is contained in:
Uwe Krüger
2020-06-30 14:19:22 +02:00
committed by GitHub
parent 8d7eccb8e1
commit 8a46911725
13 changed files with 88 additions and 31 deletions

View File

@ -155,7 +155,7 @@ fn (mut cfg DocConfig) serve_html() {
default_filename: def_name
}
for {
con := server.accept() or {
mut con := server.accept() or {
server.close() or { }
panic(err)
}