fix typos (the literal kind)

This commit is contained in:
RainRat 2024-06-01 22:08:33 -07:00
parent 0d0233b9e0
commit 8e26045211
5 changed files with 8 additions and 8 deletions

View file

@ -56,7 +56,7 @@ jobs:
components: rustfmt components: rustfmt
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack - uses: taiki-e/install-action@cargo-hack
- name: Update dependencues - name: Update dependencies
run: cargo update run: cargo update
- name: Build - name: Build
run: cargo test --workspace --no-run run: cargo test --workspace --no-run

View file

@ -69,7 +69,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Don't correct `ang` ('angle' abbreviation) - Don't correct `ang` ('angle' abbreviation)
- Don't correct `dur` ('duration' abbreviation) - Don't correct `dur` ('duration' abbreviation)
- Don't correct `lst` (used in place of 'list' when its a built-in) - Don't correct `lst` (used in place of 'list' when it's a built-in)
- Don't correct `GUID` acronym - Don't correct `GUID` acronym
- Don't correct `IIS` acronym - Don't correct `IIS` acronym
- Don't correct `IME` acronym - Don't correct `IME` acronym
@ -595,7 +595,7 @@ Publish to PyPI (first attempt)
### Fixes ### Fixes
- Don't correct `nilable` as its used by the Ruby community - Don't correct `nilable` as it's used by the Ruby community
## [1.13.3] - 2022-12-02 ## [1.13.3] - 2022-12-02
@ -987,7 +987,7 @@ Note: MSRV is now 1.54
#### Performance #### Performance
- Due to new literal detection, finding identifiers is takes 10x longer. - Due to new literal detection, finding identifiers is takes 10x longer.
Combined with word splitting, its only takes 3x longer. The majority of the Combined with word splitting, it only takes 3x longer. The majority of the
time is spent in dictionary lookups, so we don't expect this to have too much impact in the end. time is spent in dictionary lookups, so we don't expect this to have too much impact in the end.
## [1.0.10] - 2021-06-28 ## [1.0.10] - 2021-06-28

View file

@ -7,13 +7,13 @@ appreciate any level you're willing to do.
Need some new functionality to help? You can let us know by opening an Need some new functionality to help? You can let us know by opening an
[issue][new issue]. It's helpful to look through [all issues][all issues] in [issue][new issue]. It's helpful to look through [all issues][all issues] in
case its already being talked about. case it's already being talked about.
## Bug Reports ## Bug Reports
Please let us know about what problems you run into, whether in behavior or Please let us know about what problems you run into, whether in behavior or
ergonomics of API. You can do this by opening an [issue][new issue]. It's ergonomics of API. You can do this by opening an [issue][new issue]. It's
helpful to look through [all issues][all issues] in case its already being helpful to look through [all issues][all issues] in case it's already being
talked about. talked about.
## Pull Requests ## Pull Requests

View file

@ -428,7 +428,7 @@ impl Type {
let category = Category::parse_(input)?; let category = Category::parse_(input)?;
let tag = winnow::combinator::opt(Tag::parse_).parse_next(input)?; let tag = winnow::combinator::opt(Tag::parse_).parse_next(input)?;
let num = winnow::combinator::opt(winnow::ascii::digit1).parse_next(input)?; let num = winnow::combinator::opt(winnow::ascii::digit1).parse_next(input)?;
let num = num.map(|s| s.parse().expect("parser ensured its a number")); let num = num.map(|s| s.parse().expect("parser ensured it's a number"));
let t = Type { category, tag, num }; let t = Type { category, tag, num };
Ok(t) Ok(t)
}) })

View file

@ -220,7 +220,7 @@ created by Garst R. Reese <reese@isn.net>:
Canadians use ize ization, izing izable like Americans, and gram instead Canadians use ize ization, izing izable like Americans, and gram instead
of gramme. The one exception I found was practise. It does not go to of gramme. The one exception I found was practise. It does not go to
practize. Otherwise they use British spelling. So, what I am currently practize. Otherwise they use British spelling. So, what I am currently
checking books with is a an edited version of British, where I have checking books with is an edited version of British, where I have
changed all occurrences of ise to ize, isab to izab, isation to ization, changed all occurrences of ise to ize, isab to izab, isation to ization,
ising to izing, and gramme to gram except I allow programme, which is ising to izing, and gramme to gram except I allow programme, which is
sometimes proper unless you are talking about a computer program. I did sometimes proper unless you are talking about a computer program. I did