Skip to content

Commit 287b810

Browse files
committed
Allow unsafe_op_in_unsafe_fn in pyhq
1 parent d1cbb1e commit 287b810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/pyhq/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// This lint is currently buggy and doesn't work properly with procedural macros (#[pyfunction]).
22
// Re-check in version 1.65.0.
33
#![allow(clippy::borrow_deref_ref)]
4+
// Temporarily allow this lint before we update pyo3.
5+
#![allow(unsafe_op_in_unsafe_fn)]
46

57
use pyo3::types::PyModule;
68
use pyo3::{FromPyObject, PyAny, pyclass, pyfunction, pymethods, pymodule};

0 commit comments

Comments
 (0)