Final cleanup?

Need to spec out the process and zlib methods, but otherwise looks decent
master
Bradlee Speice 2019-04-16 18:32:29 -04:00
parent 79f9039c7e
commit 5c5d84a57b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ impl<'a> From<io::Error> for KaitaiError<'a> {
}
}
type Result<'a, T> = std::result::Result<T, KaitaiError<'a>>;
pub type Result<'a, T> = std::result::Result<T, KaitaiError<'a>>;
pub trait KaitaiStruct<'a>
{
@ -25,7 +25,7 @@ pub trait KaitaiStruct<'a>
where
Self: Sized;
//fn read<S: KaitaiStream>(&mut self, stream: &S);
fn read<S: KaitaiStream>(&mut self, stream: &mut S) -> Result<'a, ()>;
}
pub trait KaitaiStream {