aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2017-05-28 10:53:43 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2017-05-28 10:53:43 +0200
commit296d86b2833e4e2ab62d425ece2ea0f0f8ce4b77 (patch)
treedb0f4df6fb908b1f079b13c3960bcbec250ebd93 /src
parent0c8357208be41dd62a70ecd010f9122ab46ba3f3 (diff)
downloadnihav-296d86b2833e4e2ab62d425ece2ea0f0f8ce4b77.tar.gz
make ByteIOResult public
Diffstat (limited to 'src')
-rw-r--r--src/io/byteio.rs2
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>;