Merge pull request #1023 from RainRat/master

fix typos (the literal kind)
This commit is contained in:
Ed Page 2024-06-03 12:33:57 -05:00 committed by GitHub
commit 19cbc79842
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 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

@ -75,7 +75,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
@ -601,7 +601,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
@ -993,7 +993,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)
}) })