Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vbkaisetsu committed Jun 11, 2022
1 parent 157d187 commit 1abb09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ impl Vaporetto {
let mut buff = vec![];
let (model, _) = py.allow_threads(|| {
let mut f = Cursor::new(model);
let mut decoder = ruzstd::StreamingDecoder::new(&mut f)
.map_err(PyValueError::new_err)?;
let mut decoder =
ruzstd::StreamingDecoder::new(&mut f).map_err(PyValueError::new_err)?;
decoder
.read_to_end(&mut buff)
.map_err(|e| PyValueError::new_err(e.to_string()))?;
Expand Down

0 comments on commit 1abb09a

Please sign in to comment.