Make crate compile on Rust 1.26.2+

This commit is contained in:
Jon Gjengset 2018-11-24 14:16:57 -05:00
parent a610283861
commit b6e9ea080b
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71

View file

@ -1,8 +1,8 @@
//! Adds support for the IMAP IDLE command specificed in [RFC //! Adds support for the IMAP IDLE command specificed in [RFC
//! 2177](https://tools.ietf.org/html/rfc2177). //! 2177](https://tools.ietf.org/html/rfc2177).
use crate::client::Session; use client::Session;
use crate::error::{Error, Result}; use error::{Error, Result};
use native_tls::TlsStream; use native_tls::TlsStream;
use std::io::{self, Read, Write}; use std::io::{self, Read, Write};
use std::net::TcpStream; use std::net::TcpStream;