File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl Token {
154
154
155
155
let payload = Payload :: base64_decode ( payload_encoded) ?;
156
156
157
- let decoded_signature = base64:: decode_config ( & signature_encoded, base64:: URL_SAFE_NO_PAD )
157
+ let decoded_signature = base64:: decode_config ( signature_encoded, base64:: URL_SAFE_NO_PAD )
158
158
. map_err ( EwtVerifyError :: SignatureDecoding ) ?;
159
159
160
160
// if it returns the same slice, then there was no suffix
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
42
42
. help ( "the adapter for authentication and signing" )
43
43
. required ( true )
44
44
. default_value ( "ethereum" )
45
- . possible_values ( & [ "ethereum" , "dummy" ] )
45
+ . possible_values ( [ "ethereum" , "dummy" ] )
46
46
. takes_value ( true ) ,
47
47
)
48
48
. arg (
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn Error>> {
29
29
. help ( "the adapter for authentication and signing" )
30
30
. required ( true )
31
31
. default_value ( "ethereum" )
32
- . possible_values ( & [ "ethereum" , "dummy" ] )
32
+ . possible_values ( [ "ethereum" , "dummy" ] )
33
33
. takes_value ( true ) ,
34
34
)
35
35
. arg (
You can’t perform that action at this time.
0 commit comments