Minor cleanup

master
Bradlee Speice 2019-04-16 14:55:20 -04:00
parent bfeb073143
commit af5bd80034
1 changed files with 0 additions and 8 deletions

View File

@ -5,7 +5,6 @@ use std::io::Seek;
#[derive(Debug)]
pub enum KaitaiError<'a> {
InvalidContents { actual: &'a [u8] },
InvalidKey,
IoError(io::Error),
}
@ -25,13 +24,6 @@ pub trait KaitaiStruct<'a>
fn new<S: KaitaiStream>(stream: &mut S) -> Result<Self>
where
Self: Sized;
/*
fn read<S: KaitaiStream<'a>>(
&mut self,
)
*/
}
pub trait KaitaiStream {