File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 14
14
name : Lint
15
15
runs-on : ubuntu-22.04
16
16
steps :
17
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
18
18
- uses : dtolnay/rust-toolchain@stable
19
19
with :
20
20
components : " rustfmt,clippy"
@@ -32,14 +32,14 @@ jobs:
32
32
name : cargo-deny check
33
33
runs-on : ubuntu-22.04
34
34
steps :
35
- - uses : actions/checkout@v3
36
- - uses : EmbarkStudios/cargo-deny-action@v1
35
+ - uses : actions/checkout@v4
36
+ - uses : EmbarkStudios/cargo-deny-action@v2
37
37
38
38
msrv-check :
39
39
name : Minimum Stable Rust Version Check
40
40
runs-on : ubuntu-22.04
41
41
steps :
42
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
43
43
44
44
- run : cargo fetch
45
45
- name : cargo check
52
52
os : [ubuntu-22.04]
53
53
runs-on : ${{ matrix.os }}
54
54
steps :
55
- - uses : actions/checkout@v3
55
+ - uses : actions/checkout@v4
56
56
- uses : dtolnay/rust-toolchain@stable
57
57
- run : cargo fetch
58
58
- name : cargo build
Original file line number Diff line number Diff line change 1
1
[advisories ]
2
- unmaintained = " deny"
3
- vulnerability = " deny"
4
- unsound = " deny"
5
2
yanked = " deny"
6
3
ignore = [
7
4
]
@@ -10,7 +7,6 @@ ignore = [
10
7
multiple-versions = " deny"
11
8
12
9
[licenses ]
13
- unlicensed = " deny"
14
10
# We want really high confidence when inferring licenses from text
15
11
confidence-threshold = 0.92
16
12
allow = [
Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ pub enum Token<'a> {
88
88
Or ,
89
89
}
90
90
91
- impl < ' a > std:: fmt:: Display for Token < ' a > {
91
+ impl std:: fmt:: Display for Token < ' _ > {
92
92
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
93
93
std:: fmt:: Debug :: fmt ( self , f)
94
94
}
95
95
}
96
96
97
- impl < ' a > Token < ' a > {
97
+ impl Token < ' _ > {
98
98
fn len ( & self ) -> usize {
99
99
match self {
100
100
Token :: Spdx ( id) => id. name . len ( ) ,
You can’t perform that action at this time.
0 commit comments