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 {
154154
155155 let payload = Payload :: base64_decode ( payload_encoded) ?;
156156
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 )
158158 . map_err ( EwtVerifyError :: SignatureDecoding ) ?;
159159
160160 // 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>> {
4242 . help ( "the adapter for authentication and signing" )
4343 . required ( true )
4444 . default_value ( "ethereum" )
45- . possible_values ( & [ "ethereum" , "dummy" ] )
45+ . possible_values ( [ "ethereum" , "dummy" ] )
4646 . takes_value ( true ) ,
4747 )
4848 . arg (
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn Error>> {
2929 . help ( "the adapter for authentication and signing" )
3030 . required ( true )
3131 . default_value ( "ethereum" )
32- . possible_values ( & [ "ethereum" , "dummy" ] )
32+ . possible_values ( [ "ethereum" , "dummy" ] )
3333 . takes_value ( true ) ,
3434 )
3535 . arg (
You can’t perform that action at this time.
0 commit comments