projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make ByteIOResult public
[nihav.git]
/
src
/
io
/
byteio.rs
diff --git
a/src/io/byteio.rs
b/src/io/byteio.rs
index 497e8cc9ce1f3331da5c31ba5e681a2a2b3464f3..f4816931be11253e1b750c78d1fa85620bf7fb35 100644
(file)
--- 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>;