This commit is contained in:
Martin Algesten
2018-07-01 10:19:40 +02:00
parent ca533bc518
commit 03928a05c5
3 changed files with 8 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ pub enum Stream {
Https(TlsStream<TcpStream>),
Cursor(Cursor<Vec<u8>>),
#[cfg(test)]
Test(Box<Read + Send>, Vec<u8>),
Test(Box<dyn Read + Send>, Vec<u8>),
}
impl ::std::fmt::Debug for Stream {