From e667e7268593c82ea26122dadcc142d52295fd96 Mon Sep 17 00:00:00 2001 From: Yohix Date: Fri, 13 Mar 2020 14:15:40 +0530 Subject: [PATCH] all: fix typos --- .github/ISSUE_TEMPLATE/bug-report-for-v.md | 2 +- cmd/tools/oldv.v | 2 +- cmd/tools/performance_compare.v | 4 ++-- cmd/tools/vfmt.v | 4 ++-- cmd/v/v.v | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report-for-v.md b/.github/ISSUE_TEMPLATE/bug-report-for-v.md index 6de870a491..54e28166fc 100644 --- a/.github/ISSUE_TEMPLATE/bug-report-for-v.md +++ b/.github/ISSUE_TEMPLATE/bug-report-for-v.md @@ -1,6 +1,6 @@ --- name: Bug report for V -about: Please use the apropriate label when submitting an issue: bug/feature request/question. +about: Please use the appropriate label when submitting an issue: bug/feature request/question. title: "New issue" labels: '' assignees: '' diff --git a/cmd/tools/oldv.v b/cmd/tools/oldv.v index 87bcb0c114..94e150f4de 100644 --- a/cmd/tools/oldv.v +++ b/cmd/tools/oldv.v @@ -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' ) diff --git a/cmd/tools/performance_compare.v b/cmd/tools/performance_compare.v index a28daebe04..0462e21c8f 100644 --- a/cmd/tools/performance_compare.v +++ b/cmd/tools/performance_compare.v @@ -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 diff --git a/cmd/tools/vfmt.v b/cmd/tools/vfmt.v index 9d48737484..1551601f53 100644 --- a/cmd/tools/vfmt.v +++ b/cmd/tools/vfmt.v @@ -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 . ') } diff --git a/cmd/v/v.v b/cmd/v/v.v index ed39ec9853..7b679ad541 100644 --- a/cmd/v/v.v +++ b/cmd/v/v.v @@ -27,7 +27,7 @@ const ( fn main() { prefs := flag.MainCmdPreferences{} values := flag.parse_main_cmd(os.args, parse_flags, &prefs) or { - println('V Error: An error has occured while parsing flags: ') + println('V Error: An error has occurred while parsing flags: ') println(err) exit(1) }