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

all: fix typos

This commit is contained in:
Yohix
2020-03-13 14:15:40 +05:30
committed by GitHub
parent b173cea177
commit e667e72685
5 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ const (
## ... or do:
git bisect bad
## Now you just repeat the above steps, each time running oldv with the same command, then mark the result as good or bad,
## until you find the commit, where the problem first occured.
## until you find the commit, where the problem first occurred.
## When you finish, do not forget to do:
git bisect reset'
)

View File

@ -16,8 +16,8 @@ const (
struct Context {
cwd string // current working folder
mut:
v_repo_url string // the url of the vc repository. It can be a local folder path, which is usefull to eliminate network operations...
vc_repo_url string // the url of the vc repository. It can be a local folder path, which is usefull to eliminate network operations...
v_repo_url string // the url of the vc repository. It can be a local folder path, which is useful to eliminate network operations...
vc_repo_url string // the url of the vc repository. It can be a local folder path, which is useful to eliminate network operations...
workdir string // the working folder (typically /tmp), where the tool will write
a string // the full path to the 'after' folder inside workdir
b string // the full path to the 'before' folder inside workdir

View File

@ -196,7 +196,7 @@ fn (foptions &FormatOptions) format_file(file string) {
compiler_params.lookup_path = [mod_folder_parent, '@vlib', '@vmodule']
}
if !is_test_file && mod_name == 'main' {
// NB: here, file is guaranted to be a main. We do not know however
// NB: here, file is guaranteed to be a main. We do not know however
// whether it is a standalone v program, or is it a part of a bigger
// project, like vorum or vid.
cfile = get_compile_name_of_potential_v_project(cfile)
@ -307,7 +307,7 @@ Options:
-2 Use the new V parser/vfmt. NB: this is EXPERIMENTAL for now.
The new vfmt is much faster and more forgiving.
It also may EAT some of your code for now.
Please be carefull, and make frequent BACKUPS, when running with -vfmt2 .
Please be careful, and make frequent BACKUPS, when running with -vfmt2 .
')
}