Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos (the literal kind) #1023

Merged
merged 3 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- name: Update dependencues
- name: Update dependencies
run: cargo update
- name: Build
run: cargo test --workspace --no-run
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Don't correct `ang` ('angle' 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 `IIS` acronym
- Don't correct `IME` acronym
Expand Down Expand Up @@ -601,7 +601,7 @@ Publish to PyPI (first attempt)

### 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

Expand Down Expand Up @@ -993,7 +993,7 @@ Note: MSRV is now 1.54
#### Performance

- 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.

## [1.0.10] - 2021-06-28
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
[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

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
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.

## Pull Requests
Expand Down
2 changes: 1 addition & 1 deletion crates/varcon-core/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ impl Type {
let category = Category::parse_(input)?;
let tag = winnow::combinator::opt(Tag::parse_).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 };
Ok(t)
})
Expand Down
Loading