mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Missing rustfmt
This commit is contained in:
@@ -857,7 +857,9 @@ mod tests {
|
|||||||
assert_eq!(vec![account_id], encrypted_ids);
|
assert_eq!(vec![account_id], encrypted_ids);
|
||||||
|
|
||||||
for id in 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());
|
assert!(res.is_ok());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ impl From<SqlOpenError> for ContextError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
impl Context {
|
impl Context {
|
||||||
/// Creates new context and opens the database.
|
/// Creates new context and opens the database.
|
||||||
pub async fn new(dbfile: PathBuf, id: u32) -> Result<Context, ContextError> {
|
pub async fn new(dbfile: PathBuf, id: u32) -> Result<Context, ContextError> {
|
||||||
|
|||||||
Reference in New Issue
Block a user