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

doc: fix typos (#16239)

This commit is contained in:
Grantley Cullar 2022-10-29 03:27:38 +08:00 committed by GitHub
parent a0a055cc4c
commit 21d18b0792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -134,7 +134,7 @@ f(a)
mut b := St{...}
f(b)
go g(mut b)
// `b` should not be accessed here any more
// `b` should not be accessed here anymore
shared c := St{...}
h(shared c)
@ -181,7 +181,7 @@ y := b['apple'] // not necesarily `3`
// iteration over elements
for k, v in b {
// concurrently changed k/v pairs may or my not be included
// concurrently changed k/v pairs may or may not be included
}
```

View File

@ -96,7 +96,7 @@ The `-g` option will add the needed debugging information.
You can find more debugging options in the [docs](docs.md#debugging).
VS Code provides a hook called `preLaunchTask`, which can be used to compile
the application automatially every time you call the debugger.
the application automatically every time you call the debugger.
[preLaunchTask](https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes) launches
a task before the start of a debug session, set this attribute to the label of a task specified
in [task.json](https://code.visualstudio.com/docs/editor/tasks) (in the workspace's .vscode folder).