Skip to content

Commit e5a6641

Browse files
committed
Tune up lints for 1.83 Rust
- upgrade `thiserror` crate from 1.0.20 to 2.0 version
1 parent c6d67e5 commit e5a6641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parser = ["dep:typed-builder"]
2929
[dependencies]
3030
peg = "0.6.3"
3131
textwrap = "0.16"
32-
thiserror = "1.0.20"
32+
thiserror = "2.0"
3333

3434
# "parser" feature dependencies.
3535
typed-builder = { version = "0.20", optional = true }

Diff for: src/keywords.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl<'a> Keywords<'a> {
129129
}
130130
}
131131

132-
impl<'a> Default for Keywords<'a> {
132+
impl Default for Keywords<'_> {
133133
fn default() -> Self {
134134
EN
135135
}

0 commit comments

Comments
 (0)