diff options
author | bryan newbold <bnewbold@robocracy.org> | 2023-02-19 17:09:25 -0800 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-02-19 17:19:39 -0800 |
commit | c3a7cd3e547b741a3579a2aff9b6b16dbdbc8f67 (patch) | |
tree | 844e2490c203430c8f3b56287a249bbb19c154e2 /adenosine/src/plc.rs | |
parent | ec2bf0c54245cd84f492847d2a1e070919b14a53 (diff) | |
download | adenosine-c3a7cd3e547b741a3579a2aff9b6b16dbdbc8f67.tar.gz adenosine-c3a7cd3e547b741a3579a2aff9b6b16dbdbc8f67.zip |
cargo clippy
Diffstat (limited to 'adenosine/src/plc.rs')
-rw-r--r-- | adenosine/src/plc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adenosine/src/plc.rs b/adenosine/src/plc.rs index c7d7d10..cdedfb9 100644 --- a/adenosine/src/plc.rs +++ b/adenosine/src/plc.rs @@ -294,7 +294,7 @@ fn test_debug_did_plc() { let _did_plc = "did:plc:cg2dfxdh5voabmdjzw2abw3s"; let digest_bytes: Vec<u8> = data_encoding::HEXLOWER - .decode(&sha256::digest(op_bytes).as_bytes()) + .decode(sha256::digest(op_bytes).as_bytes()) .expect("SHA-256 digest is always hex string"); let digest_b32 = data_encoding::BASE32_NOPAD .encode(&digest_bytes) @@ -350,7 +350,7 @@ fn test_self_verify() { &keypair, None, ); - println!("{:?}", op); + println!("{op:?}"); op.verify_self().unwrap(); } @@ -363,6 +363,6 @@ fn test_known_key() { &keypair, None, ); - println!("{:?}", op); + println!("{op:?}"); op.verify_self().unwrap(); } |