소스 검색

Fix clippy issues in a KeyProvisioner

develop
Silvestr Predko 2 년 전
부모
커밋
a839fbd9c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      web-client/src/lib.rs

+ 1
- 1
web-client/src/lib.rs 파일 보기

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

Loading…
취소
저장