mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-15 01:24:22 +08:00
format code
This commit is contained in:
@@ -926,7 +926,7 @@ pub trait SeekExt {
|
||||
fn stream_length(&mut self) -> Result<u64>;
|
||||
}
|
||||
|
||||
impl<T: Seek> SeekExt for T{
|
||||
impl<T: Seek> SeekExt for T {
|
||||
fn stream_length(&mut self) -> Result<u64> {
|
||||
let current_pos = self.stream_position()?;
|
||||
let length = self.seek(SeekFrom::End(0))?;
|
||||
|
||||
Reference in New Issue
Block a user