mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
Fix unused imports/code compiler warnings
This commit is contained in:
parent
b7175c2400
commit
1811fb51cb
@ -287,7 +287,7 @@ pub trait MailBackend: ::std::fmt::Debug + Send + Sync {
|
||||
fn operation(&self, hash: EnvelopeHash) -> Box<dyn BackendOp>;
|
||||
|
||||
fn save(&self, bytes: &[u8], mailbox: &str, flags: Option<Flag>) -> Result<()>;
|
||||
fn delete(&self, env_hash: EnvelopeHash) -> Result<()> {
|
||||
fn delete(&self, _env_hash: EnvelopeHash) -> Result<()> {
|
||||
Err(MeliError::new("Unimplemented."))
|
||||
}
|
||||
fn tags(&self) -> Option<Arc<RwLock<BTreeMap<u64, String>>>> {
|
||||
|
@ -23,9 +23,7 @@
|
||||
extern crate melib;
|
||||
use melib::*;
|
||||
|
||||
use std::alloc::System;
|
||||
use std::collections::VecDeque;
|
||||
use std::path::{Path, PathBuf};
|
||||
extern crate notify_rust;
|
||||
extern crate xdg_utils;
|
||||
#[macro_use]
|
||||
@ -43,7 +41,6 @@ extern crate serde_json;
|
||||
extern crate smallvec;
|
||||
|
||||
use melib::backends::imap::managesieve::new_managesieve_connection;
|
||||
use melib::AccountSettings;
|
||||
use melib::Result;
|
||||
|
||||
mod unix;
|
||||
@ -126,7 +123,7 @@ fn main() -> Result<()> {
|
||||
use std::io::Write;
|
||||
input.clear();
|
||||
print!("> ");
|
||||
io::stdout().flush();
|
||||
io::stdout().flush().unwrap();
|
||||
match io::stdin().read_line(&mut input) {
|
||||
Ok(_) => {
|
||||
if input.trim().eq_ignore_ascii_case("logout") {
|
||||
|
Loading…
Reference in New Issue
Block a user