Browse Source

melib: Remove unnecessary "pub use" std exports

lazy_fetch
Manos Pitsidianakis 11 months ago
parent
commit
22a64e2d76
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 4
      melib/src/backends.rs
  2. 2
      melib/src/backends/maildir.rs
  3. 1
      src/components/mail/compose.rs
  4. 7
      src/conf/accounts.rs

4
melib/src/backends.rs

@ -64,9 +64,9 @@ use std::fmt::Debug;
use std::ops::Deref;
use std::sync::{Arc, RwLock};
pub use futures::stream::Stream;
use futures::stream::Stream;
use std::future::Future;
pub use std::pin::Pin;
use std::pin::Pin;
use std::collections::HashMap;

2
melib/src/backends/maildir.rs

@ -30,7 +30,7 @@ use crate::backends::*;
use crate::email::Flag;
use crate::error::{MeliError, Result};
use crate::shellexpand::ShellExpandTrait;
pub use futures::stream::Stream;
use futures::stream::Stream;
use std::collections::hash_map::DefaultHasher;
use std::fs;
use std::hash::{Hash, Hasher};

1
src/components/mail/compose.rs

@ -31,6 +31,7 @@ use indexmap::IndexSet;
use nix::sys::wait::WaitStatus;
use std::convert::TryInto;
use std::future::Future;
use std::pin::Pin;
use std::process::{Command, Stdio};
use std::str::FromStr;
use std::sync::{Arc, Mutex};

7
src/conf/accounts.rs

@ -40,9 +40,10 @@ use std::collections::{HashMap, HashSet};
use crate::types::UIEvent::{self, EnvelopeRemove, EnvelopeRename, EnvelopeUpdate, Notification};
use crate::{StatusEvent, ThreadEvent};
use crossbeam::Sender;
use futures::future::FutureExt;
pub use futures::stream::Stream;
use futures::stream::StreamExt;
use futures::{
future::FutureExt,
stream::{Stream, StreamExt},
};
use std::borrow::Cow;
use std::collections::VecDeque;
use std::convert::TryFrom;

Loading…
Cancel
Save