From a8a7d86fec9aa10c5b61c26ee63af8b65f405897 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sat, 27 May 2017 02:16:56 +0300 Subject: [PATCH] Fix build on nightly rustc --- src/io/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { }