Missing rustfmt

This commit is contained in:
Floris Bruynooghe
2022-02-06 22:12:29 +01:00
parent 287e291485
commit cd6aba1e57
2 changed files with 3 additions and 2 deletions

View File

@@ -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());
}

View File

@@ -120,7 +120,6 @@ impl From<SqlOpenError> for ContextError {
}
}
impl Context {
/// Creates new context and opens the database.
pub async fn new(dbfile: PathBuf, id: u32) -> Result<Context, ContextError> {