diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2017-05-28 10:53:43 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2017-05-28 10:53:43 +0200 |
commit | 296d86b2833e4e2ab62d425ece2ea0f0f8ce4b77 (patch) | |
tree | db0f4df6fb908b1f079b13c3960bcbec250ebd93 | |
parent | 0c8357208be41dd62a70ecd010f9122ab46ba3f3 (diff) | |
download | nihav-296d86b2833e4e2ab62d425ece2ea0f0f8ce4b77.tar.gz |
make ByteIOResult public
-rw-r--r-- | src/io/byteio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> = Result<T, ByteIOError>; +pub type ByteIOResult<T> = Result<T, ByteIOError>; pub trait ByteIO { fn read_buf(&mut self, buf: &mut [u8]) -> ByteIOResult<usize>; |