X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=src%2Fio%2Fbyteio.rs;h=f4816931be11253e1b750c78d1fa85620bf7fb35;hb=83b49341aad5de030ee5503fa0873eb4d8c6be3a;hp=497e8cc9ce1f3331da5c31ba5e681a2a2b3464f3;hpb=96c6be977343471ee20e442bee42d93949421451;p=nihav.git 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;