]> git.nihav.org Git - nihav.git/commitdiff
make ByteIOResult public
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 28 May 2017 08:53:43 +0000 (10:53 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 28 May 2017 08:53:43 +0000 (10:53 +0200)
src/io/byteio.rs

index 497e8cc9ce1f3331da5c31ba5e681a2a2b3464f3..f4816931be11253e1b750c78d1fa85620bf7fb35 100644 (file)
@@ -13,7 +13,7 @@ pub enum ByteIOError {
     SeekError,
 }
 
-type ByteIOResult<T> = Result<T, ByteIOError>;
+pub type ByteIOResult<T> = Result<T, ByteIOError>;
 
 pub trait ByteIO {
     fn read_buf(&mut self, buf: &mut [u8]) -> ByteIOResult<usize>;