diff --git a/.github/workflows/mean_bean_ci.yml b/.github/workflows/mean_bean_ci.yml index a15139a..4815c86 100644 --- a/.github/workflows/mean_bean_ci.yml +++ b/.github/workflows/mean_bean_ci.yml @@ -54,7 +54,7 @@ jobs: - i686-pc-windows-msvc - x86_64-pc-windows-msvc # GNU: You typically only need to test Windows GNU if you're - # specifically targetting it, and it can cause issues with some + # specifically targeting it, and it can cause issues with some # dependencies if you're not so it's disabled by self. # - i686-pc-windows-gnu # - x86_64-pc-windows-gnu diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a4a310..4fc4b43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -447,7 +447,7 @@ Made various optimisations, up to 65% faster in some cases. - @rmbreak Tokei will now not add directories with `foo.bar` like syntax to a language. - @Michael-F-Bryan tokei will now exit gracefully when a feature is missing - instead of panicing + instead of panicking **Added languages:** @@ -475,7 +475,7 @@ Made various optimisations, up to 65% faster in some cases. - @lligo : Tokei no longer panics on non-character-boundary when printing file names. - Fixed regression where no comment style files(_json, markdown_) weren't counted. - Tokei can now handle files in different encodings.(_using the [encoding](https://crates.io/crates/encoding) library_) -- Tokei now prints errors instead of sliently skipping them. +- Tokei now prints errors instead of silently skipping them. - Tokei can now print unused extensions using `-v` option. **Added languages:** diff --git a/README.md b/README.md index f41b22d..1ab7d12 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ OPTIONS: -o, --output Outputs Tokei in a specific format. Compile with additional features for more format support. [possible values: cbor, json, yaml] -s, --sort Sort languages based on column [possible values: files, lines, blanks, code, comments] - -t, --type Filters output by language type, seperated by a comma. i.e. -t=Rust,Markdown + -t, --type Filters output by language type, separated by a comma. i.e. -t=Rust,Markdown ARGS: ... The path(s) to the file or directory to be counted. diff --git a/fuzz/fuzz_targets/parse_from_slice.rs b/fuzz/fuzz_targets/parse_from_slice.rs index e4093fe..c6d4374 100644 --- a/fuzz/fuzz_targets/parse_from_slice.rs +++ b/fuzz/fuzz_targets/parse_from_slice.rs @@ -32,7 +32,7 @@ pub fn parse_from_slice(input: FuzzInput, check_total: bool) { let stats = input.lang.parse_from_slice(input.data, config); if check_total { - // verify that the parsed total lines is not more than the total occurences of \n and \r\n. + // verify that the parsed total lines is not more than the total occurrences of \n and \r\n. // if/when all of the current discrepancies are fixed, we could make this stronger by checking it is equal. if let Ok(s) = str::from_utf8(input.data) { assert!( diff --git a/tests/data/bean.bean b/tests/data/bean.bean index 459aca5..0905e25 100644 --- a/tests/data/bean.bean +++ b/tests/data/bean.bean @@ -18,7 +18,7 @@ option "operating_currency" "EUR" ; verifying starting balance 2020-09-02 balance Assets:Cash 81.7 EUR -; transfering money +; transferring money 2020-09-03 * "transfer of money" Assets:Cash -17.7 EUR Expenses:Food diff --git a/tests/data/c.c b/tests/data/c.c index ca00f50..b724621 100644 --- a/tests/data/c.c +++ b/tests/data/c.c @@ -9,7 +9,7 @@ int main(void) { } void foo() { - char *esc = "\"/*escaped quotes in a string and block commment*/\""; + char *esc = "\"/*escaped quotes in a string and block comment*/\""; func1(); func2(); char *next_line = @@ -28,7 +28,7 @@ void foo() { char *late_start = // " "wow\ - thats pretty neat"; + that's pretty neat"; char *late_start2 = /* " */ "*/ still just a string"; // but this is a line comment