docs: fix a typo

pull/13012/head
Delyan Angelov 2022-01-02 09:18:24 +02:00
parent 0e1cfd4a28
commit 9278d4ec19
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ see also `v help build`.
__exit(code int)
Exit with code code. code is allowed to be ignored.
The module decleration should be `builtin`. The default Linux
The module declaration should be `builtin`. The default Linux
implementation can be found in `vlib/builtin/linux_bare`.
-os <os>, -target-os <os>

View File

@ -186,12 +186,12 @@ pub fn (mut e Eval) register_symbol(stmt ast.Stmt, mod string, file string) {
}
}
else {
e.error('unknown decleration expression statement $x.type_name()')
e.error('unknown declaration expression statement $x.type_name()')
}
}
}
else {
e.error('unhandled decleration statement $stmt.type_name()')
e.error('unhandled declaration statement $stmt.type_name()')
}
}
}

View File

@ -1,4 +1,4 @@
// duplicate interface methods in decleration
// duplicate interface methods in declaration
interface Abc {
fun()
fun()