mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +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,9 +1,9 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use crate::{config::Config, context::Context};
|
||||
use anyhow::Context as _;
|
||||
use anyhow::{Context as _, Result};
|
||||
|
||||
use crate::error::Result;
|
||||
use crate::config::Config;
|
||||
use crate::context::Context;
|
||||
use crate::imap::Imap;
|
||||
use async_std::prelude::*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user