diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-23 10:47:06 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-11-29 11:53:56 +0100 |
commit | f9864807988a2702df0b1c7090e85d79055693ea (patch) | |
tree | 9c38113e54c57d2be9e17598aa397c8619de2984 /ipc | |
parent | 621acd04a041ce688b66755987c8d31effe341bd (diff) |
ipc: Remove needless reference.
- Found with the help of the clippy::op_ref lint.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/src/keybox.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/src/keybox.rs b/ipc/src/keybox.rs index c098631d..2df63db3 100644 --- a/ipc/src/keybox.rs +++ b/ipc/src/keybox.rs @@ -277,7 +277,7 @@ impl OpenPGPRecordV1 { }; // Check checksum - if &record.checksum_field()[..] != record.compute_checksum()? { + if record.checksum_field()[..] != record.compute_checksum()? { return Err(Error::InvalidData("wrong checksum".to_string()).into()); } |