doc: fix several typos (#7509)

pull/7525/head
0xflotus 2020-12-23 18:03:56 +01:00 committed by GitHub
parent 7b9756be72
commit f505f5e333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -964,7 +964,7 @@ for key, value in m {
} // two -> 2
```
Either key or value can be ignored by using a single underscore as the identifer.
Either key or value can be ignored by using a single underscore as the identifier.
```v nofmt
m := {'one':1, 'two':2}
@ -3001,7 +3001,7 @@ but may impact the size of your executable.
the compiler will translate array operations directly into C array operations -
omiting bounds checking. This may save a lot of time in a function that iterates
over an array but at the cost of making the function unsafe - unless
the boundries will be checked by the user.
the boundaries will be checked by the user.
`if _likely_(bool expression) {` this hints the C compiler, that the passed
boolean expression is very likely to be true, so it can generate assembly