mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 11:26:29 +03:00
Depend on anyhow directly
This removes the proxy via crate::error to depend on anyhow directly. There is no benefit to this indirection and this makes it simpler to see which error types are used.
This commit is contained in:
committed by
link2xt
parent
7b5a3a8346
commit
355e0145c0
@@ -1,5 +1,6 @@
|
||||
//! Contacts module
|
||||
|
||||
use anyhow::{bail, ensure, format_err, Result};
|
||||
use async_std::path::PathBuf;
|
||||
use deltachat_derive::{FromSql, ToSql};
|
||||
use itertools::Itertools;
|
||||
@@ -17,7 +18,6 @@ use crate::context::Context;
|
||||
use crate::dc_tools::{
|
||||
dc_get_abs_path, dc_str_to_color, improve_single_line_input, listflags_has, EmailAddress,
|
||||
};
|
||||
use crate::error::{bail, ensure, format_err, Result};
|
||||
use crate::events::EventType;
|
||||
use crate::key::{DcKey, SignedPublicKey};
|
||||
use crate::login_param::LoginParam;
|
||||
|
||||
Reference in New Issue
Block a user