diff --git a/src/io/mod.rs b/src/io/mod.rs index e1f4dac9..04050ad6 100644 --- a/src/io/mod.rs +++ b/src/io/mod.rs @@ -322,7 +322,7 @@ pub enum Stream { TcpStream(Option), } -trait IoPack: io::Read + io::Write + io::BufRead + 'static { } +pub trait IoPack: io::Read + io::Write + io::BufRead + 'static { } impl IoPack for BufStream { }