File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 13
13
rust :
14
14
- stable
15
15
- beta
16
- - 1.65.0 # MSRV
16
+ - " 1.70.0 " # MSRV
17
17
include :
18
18
- rust : nightly
19
19
experimental : true
41
41
rust :
42
42
- stable
43
43
- beta
44
- - 1.65.0 # MSRV
44
+ - " 1.70.0 " # MSRV
45
45
include :
46
46
- rust : nightly
47
47
experimental : true
75
75
rust :
76
76
- stable
77
77
- beta
78
- - 1.65.0 # MSRV
78
+ - " 1.70.0 " # MSRV
79
79
include :
80
80
- rust : nightly
81
81
experimental : true
@@ -104,7 +104,7 @@ jobs:
104
104
rust :
105
105
- stable
106
106
- beta
107
- - 1.65.0 # MSRV
107
+ - " 1.70.0 " # MSRV
108
108
include :
109
109
- rust : nightly
110
110
experimental : true
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " dkregistry"
3
+ rust-version = " 1.70.0"
3
4
version = " 0.5.1-alpha.0"
4
5
authors = [
" Luca Bruno <[email protected] >" ,
" Stefan Junker <[email protected] >" ]
5
6
license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ impl WwwAuthenticateHeaderContent {
129
129
let captures = re. captures_iter ( & header) . collect :: < Vec < _ > > ( ) ;
130
130
131
131
let method = captures
132
- . get ( 0 )
132
+ . first ( )
133
133
. ok_or ( WwwHeaderParseError :: InvalidValue ) ?
134
134
. name ( "method" )
135
135
. ok_or ( WwwHeaderParseError :: FieldMethodMissing ) ?
You can’t perform that action at this time.
0 commit comments