mirror of
				https://github.com/bspeice/kaitai_rust
				synced 2025-10-31 01:20:34 -04:00 
			
		
		
		
	Minor cleanup
This commit is contained in:
		| @ -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 { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user