aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/encryption.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conrad.ludgate@truelayer.com>2022-04-21 08:05:57 +0100
committerGitHub <noreply@github.com>2022-04-21 08:05:57 +0100
commit48747e3b7c542c696003f71ef4b4ae457934e57c (patch)
tree0bbde7136b84cda46cdb758d2cbeda67ca436ee8 /atuin-client/src/encryption.rs
parentUse the count cache (#312) (diff)
downloadatuin-48747e3b7c542c696003f71ef4b4ae457934e57c.zip
A few minor tweaks (#314)
* use bail macro replace client database errors remove dead code * fix test
Diffstat (limited to 'atuin-client/src/encryption.rs')
-rw-r--r--atuin-client/src/encryption.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/encryption.rs b/atuin-client/src/encryption.rs
index d91ad076..9b6f8a78 100644
--- a/atuin-client/src/encryption.rs
+++ b/atuin-client/src/encryption.rs
@@ -139,6 +139,6 @@ mod test {
};
// this should err
- decrypt(&e2, &key1).expect_err("expected an error decrypting with invalid key");
+ let _ = decrypt(&e2, &key1).expect_err("expected an error decrypting with invalid key");
}
}