Fix compilation error without default features

pull/73/head
Danny Browning 5 years ago
parent 02684b4946
commit 6369d48579
  1. 4
      src/client.rs

@ -46,8 +46,8 @@ mod encryption {
mod encryption { mod encryption {
use std::net::TcpStream; use std::net::TcpStream;
use error::{Error, Result}; use crate::error::{Error, Result};
use stream::Mode; use crate::stream::Mode;
/// TLS support is nod compiled in, this is just standard `TcpStream`. /// TLS support is nod compiled in, this is just standard `TcpStream`.
pub type AutoStream = TcpStream; pub type AutoStream = TcpStream;

Loading…
Cancel
Save