From: Kostya Shishkov Date: Sun, 28 May 2017 08:53:43 +0000 (+0200) Subject: make ByteIOResult public X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=296d86b2833e4e2ab62d425ece2ea0f0f8ce4b77;p=nihav.git make ByteIOResult public --- diff --git a/src/io/byteio.rs b/src/io/byteio.rs index 497e8cc..f481693 100644 --- a/src/io/byteio.rs +++ b/src/io/byteio.rs @@ -13,7 +13,7 @@ pub enum ByteIOError { SeekError, } -type ByteIOResult = Result; +pub type ByteIOResult = Result; pub trait ByteIO { fn read_buf(&mut self, buf: &mut [u8]) -> ByteIOResult;