mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Remove unnecessary use of failure::Fail
This commit is contained in:
committed by
holger krekel
parent
2304d63bb3
commit
339c0d3dc7
@@ -1,8 +1,6 @@
|
|||||||
//! # Thunderbird's Autoconfiguration implementation
|
//! # Thunderbird's Autoconfiguration implementation
|
||||||
//!
|
//!
|
||||||
//! Documentation: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration */
|
//! Documentation: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration */
|
||||||
use failure::Fail;
|
|
||||||
|
|
||||||
use quick_xml;
|
use quick_xml;
|
||||||
use quick_xml::events::{BytesEnd, BytesStart, BytesText};
|
use quick_xml::events::{BytesEnd, BytesStart, BytesText};
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
//! Outlook's Autodiscover
|
//! Outlook's Autodiscover
|
||||||
|
|
||||||
use failure::Fail;
|
|
||||||
|
|
||||||
use quick_xml;
|
use quick_xml;
|
||||||
use quick_xml::events::BytesEnd;
|
use quick_xml::events::BytesEnd;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
use crate::context::Context;
|
use crate::context::Context;
|
||||||
use failure::Fail;
|
|
||||||
|
|
||||||
#[derive(Debug, Fail)]
|
#[derive(Debug, Fail)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
//! # Error handling
|
//! # Error handling
|
||||||
|
|
||||||
use failure::Fail;
|
|
||||||
use lettre_email::mime;
|
use lettre_email::mime;
|
||||||
|
|
||||||
#[derive(Debug, Fail)]
|
#[derive(Debug, Fail)]
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ pub mod send;
|
|||||||
use lettre::smtp::client::net::*;
|
use lettre::smtp::client::net::*;
|
||||||
use lettre::*;
|
use lettre::*;
|
||||||
|
|
||||||
use failure::Fail;
|
|
||||||
|
|
||||||
use crate::constants::*;
|
use crate::constants::*;
|
||||||
use crate::context::Context;
|
use crate::context::Context;
|
||||||
use crate::events::Event;
|
use crate::events::Event;
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
//! # SQLite wrapper
|
//! # SQLite wrapper
|
||||||
|
|
||||||
use failure::Fail;
|
|
||||||
|
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
use std::sync::{Arc, RwLock};
|
use std::sync::{Arc, RwLock};
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|||||||
Reference in New Issue
Block a user