ソースを参照

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)| {

読み込み中…
キャンセル
保存