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 {