Skip to content

Commit

Permalink
fix a false positive from the latest clippy (#5813)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and reaperhulk committed Feb 13, 2021
1 parent 0217eb4 commit 44ad3bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/src/lib.rs
Expand Up @@ -3,6 +3,8 @@
// for complete details.

#[pyo3::prelude::pymodule]
// False positive: https://github.com/rust-lang/rust-clippy/issues/6721
#[allow(clippy::unnecessary_wraps)]
fn _rust(_py: pyo3::Python<'_>, _m: &pyo3::types::PyModule) -> pyo3::PyResult<()> {
Ok(())
}

0 comments on commit 44ad3bf

Please sign in to comment.