Skip to content

Commit 5fe9585

Browse files
committed
chore: Update MSRV to 1.70.0
1 parent 49e2edd commit 5fe9585

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
msrv = "1.65.0" # MSRV
1+
msrv = "1.70.0" # MSRV
22
warn-on-all-wildcard-imports = true
33
allow-expect-in-tests = true
44
allow-unwrap-in-tests = true

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ jobs:
4949
- name: No-default features
5050
run: cargo test --workspace --no-default-features
5151
msrv:
52-
name: "Check MSRV: 1.65.0"
52+
name: "Check MSRV: 1.70.0"
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Checkout repository
5656
uses: actions/checkout@v3
5757
- name: Install Rust
5858
uses: dtolnay/rust-toolchain@stable
5959
with:
60-
toolchain: 1.65.0 # MSRV
60+
toolchain: 1.70.0 # MSRV
6161
- uses: Swatinem/rust-cache@v2
6262
- name: Default features
6363
run: cargo check --workspace --all-targets
@@ -119,7 +119,7 @@ jobs:
119119
- name: Install Rust
120120
uses: dtolnay/rust-toolchain@stable
121121
with:
122-
toolchain: 1.65.0 # MSRV
122+
toolchain: 1.70.0 # MSRV
123123
components: clippy
124124
- uses: Swatinem/rust-cache@v2
125125
- name: Install SARIF tools

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
[workspace.package]
88
license = "MIT OR Apache-2.0"
99
edition = "2021"
10-
rust-version = "1.65.0" # MSRV
10+
rust-version = "1.70.0" # MSRV
1111
include = [
1212
"build.rs",
1313
"src/**/*",

crates/lib/src/stdlib/tags/render_tag.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ impl ParseTag for RenderTag {
107107
t.expect_str(",")
108108
.into_result_custom_msg("`,` is needed to separate variables")?;
109109
token = arguments.next();
110-
let Some(t) = token else {break;};
110+
let Some(t) = token else {
111+
break;
112+
};
111113

112114
let id = t.expect_identifier().into_result()?.to_string();
113115

0 commit comments

Comments
 (0)