Skip to content

Commit

Permalink
chore(deps): update msrv to v1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 28, 2023
1 parent 45a880d commit 13eedae
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
msrv = "1.70.0" # MSRV
msrv = "1.75" # MSRV
warn-on-all-wildcard-imports = true
allow-expect-in-tests = true
allow-unwrap-in-tests = true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
- name: No-default features
run: cargo test --workspace --no-default-features
msrv:
name: "Check MSRV: 1.70.0"
name: "Check MSRV: 1.75"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.70" # MSRV
toolchain: "1.75" # MSRV
- uses: Swatinem/rust-cache@v2
- name: Default features
run: cargo check --workspace --all-targets
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.70" # MSRV
toolchain: "1.75" # MSRV
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Install SARIF tools
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resolver = "2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
edition = "2021"
rust-version = "1.70.0" # MSRV
rust-version = "1.75" # MSRV
include = [
"build.rs",
"src/**/*",
Expand Down
2 changes: 1 addition & 1 deletion crates/typos-cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl TypeEngineConfig {
for (type_name, engine) in source.patterns.iter() {
self.patterns
.entry(type_name.to_owned())
.or_insert_with(GlobEngineConfig::default)
.or_default()
.update(engine);
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/typos-dict/tests/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ fn proper_word_variants() -> HashMap<&'static str, HashSet<&'static str>> {
.map(|v| v.word)
.collect();
for variant in variants.iter() {
let set = words.entry(variant).or_insert_with(HashSet::new);
let set = words.entry(variant).or_default();
set.extend(variants.iter().filter(|v| *v != variant));
}
}
Expand Down

0 comments on commit 13eedae

Please sign in to comment.