Skip to content

Commit 0e87766

Browse files
committed
refactor: pre-commit
1 parent c84d530 commit 0e87766

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

encoderfile/src/transforms/engine.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ impl Transform {
2525
.get::<Option<LuaFunction>>("Postprocess")
2626
.map_err(|e| ApiError::LuaError(e.to_string()))?;
2727

28-
Ok(Self {
29-
lua,
30-
postprocessor,
31-
})
28+
Ok(Self { lua, postprocessor })
3229
}
3330

3431
pub fn pool(&self, data: Array3<f32>, mask: Array2<f32>) -> Result<Array2<f32>, ApiError> {

0 commit comments

Comments
 (0)