Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneDot committed Apr 4, 2019
1 parent 4fd6f8b commit 127901e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/tail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ where
}

impl<K, T, C> SeekPos for TransparentReader<K, T, C>
where
K: Hash + Eq + Clone,
T: Read + Seek + Length,
C: ReaderCreator<K, T>,
where
K: Hash + Eq + Clone,
T: Read + Seek + Length,
C: ReaderCreator<K, T>,
{
fn seek_pos(&self) -> u64 {
self.reader_seek_pos
Expand Down Expand Up @@ -415,7 +415,9 @@ line5"#;
}

impl SeekPos for Cursor<&[u8]> {
fn seek_pos(&self) -> u64 { self.get_ref().len() as u64 }
fn seek_pos(&self) -> u64 {
self.get_ref().len() as u64
}
}

impl TailState<Cursor<&[u8]>, &mut Vec<u8>> {
Expand Down

0 comments on commit 127901e

Please sign in to comment.