Browse Source

Fix clippy issues in a KeyProvisioner

develop
Silvestr Predko 2 years ago
parent
commit
a839fbd9c9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web-client/src/lib.rs

+ 1
- 1
web-client/src/lib.rs View File

257
             let keys: Vec<(PublicKey, String)> = participants_keys
257
             let keys: Vec<(PublicKey, String)> = participants_keys
258
                 .into_iter()
258
                 .into_iter()
259
                 .map(|(pk, participant_id)| {
259
                 .map(|(pk, participant_id)| {
260
-                    base64::decode(&pk)
260
+                    base64::decode(pk)
261
                         .map(|it| (it, participant_id))
261
                         .map(|it| (it, participant_id))
262
                         .map_err(|err| ApiError::new(ErrorType::Other, err.to_string()))
262
                         .map_err(|err| ApiError::new(ErrorType::Other, err.to_string()))
263
                         .and_then(|(pk_bytes, participant_id)| {
263
                         .and_then(|(pk_bytes, participant_id)| {

Loading…
Cancel
Save