From cd6aba1e5724ff280877c7138441db151a6feef9 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Sun, 6 Feb 2022 22:12:29 +0100 Subject: [PATCH] Missing rustfmt --- src/accounts.rs | 4 +++- src/context.rs | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/accounts.rs b/src/accounts.rs index be95fae0f..c1be1c38d 100644 --- a/src/accounts.rs +++ b/src/accounts.rs @@ -857,7 +857,9 @@ mod tests { assert_eq!(vec![account_id], encrypted_ids); for id in encrypted_ids { - let res = accounts.load_encrypted_account(id, "secret".to_string()).await; + let res = accounts + .load_encrypted_account(id, "secret".to_string()) + .await; assert!(res.is_ok()); } diff --git a/src/context.rs b/src/context.rs index acfeb7ea2..1aac37a34 100644 --- a/src/context.rs +++ b/src/context.rs @@ -120,7 +120,6 @@ impl From for ContextError { } } - impl Context { /// Creates new context and opens the database. pub async fn new(dbfile: PathBuf, id: u32) -> Result {