diff options
| author | Conrad Ludgate <conrad.ludgate@truelayer.com> | 2022-04-21 08:05:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 08:05:57 +0100 |
| commit | 48747e3b7c542c696003f71ef4b4ae457934e57c (patch) | |
| tree | 0bbde7136b84cda46cdb758d2cbeda67ca436ee8 /atuin-client/src/encryption.rs | |
| parent | Use the count cache (#312) (diff) | |
| download | atuin-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.rs | 2 |
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"); } } |
