Skip to content

Commit

Permalink
geo/mesh/stl: fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danieledapo committed Feb 1, 2023
1 parent 0a61585 commit e49ce20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geo/src/mesh/stl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use std::{
convert::TryFrom,
io::{BufRead, Seek, SeekFrom},
io::{BufRead, Seek},
};

use byteorder::{LittleEndian, ReadBytesExt};
Expand Down Expand Up @@ -88,7 +88,7 @@ pub fn guess_stl_format<R: BufRead + Seek>(r: &mut R) -> Result<StlFormat> {
_ => StlFormat::Binary,
};

r.seek(SeekFrom::Start(0))?;
r.rewind()?;

Ok(format)
}
Expand Down

0 comments on commit e49ce20

Please sign in to comment.