Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
  • Loading branch information
Eric-Arellano committed May 24, 2021
1 parent 4700f31 commit 19b807c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rust/engine/engine_pyo3/src/externs/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ impl PyExecutor {
fn __new__(core_threads: usize, max_threads: usize) -> PyResult<Self> {
task_executor::Executor::global(core_threads, max_threads)
.map(|executor| PyExecutor { executor })
.map_err(|err| PyException::new_err(err))
.map_err(PyException::new_err)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use std::sync::Arc;

use crate::externs::interface::PyExecutor;
use super::PyExecutor;
use parking_lot::Mutex;
use pyo3::exceptions::PyAssertionError;
use pyo3::prelude::*;
Expand Down

0 comments on commit 19b807c

Please sign in to comment.