projects
/
nihav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0c83572
)
make ByteIOResult public
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 28 May 2017 08:53:43 +0000
(10:53 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 28 May 2017 08:53:43 +0000
(10:53 +0200)
src/io/byteio.rs
patch
|
blob
|
blame
|
history
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>;