mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-11-22 05:48:12 -05:00
Rustfmt
This commit is contained in:
parent
5c5d84a57b
commit
7d297b884a
13
src/lib.rs
13
src/lib.rs
@ -14,8 +14,7 @@ impl<'a> From<io::Error> for KaitaiError<'a> {
|
||||
|
||||
pub type Result<'a, T> = std::result::Result<T, KaitaiError<'a>>;
|
||||
|
||||
pub trait KaitaiStruct<'a>
|
||||
{
|
||||
pub trait KaitaiStruct<'a> {
|
||||
type Parent: KaitaiStruct<'a>;
|
||||
type Root: KaitaiStruct<'a>;
|
||||
|
||||
@ -123,7 +122,7 @@ impl<'a> BytesReader<'a> {
|
||||
bytes,
|
||||
pos: 0,
|
||||
bits: 0,
|
||||
bits_left: 0
|
||||
bits_left: 0,
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -237,7 +236,13 @@ impl<'a> KaitaiStream for BytesReader<'a> {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn read_bytes_term(&mut self, term: char, include: bool, consume: bool, eos_error: bool) -> io::Result<&[u8]> {
|
||||
fn read_bytes_term(
|
||||
&mut self,
|
||||
term: char,
|
||||
include: bool,
|
||||
consume: bool,
|
||||
eos_error: bool,
|
||||
) -> io::Result<&[u8]> {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user