Skip to content

Commit db25569

Browse files
committed
Work around PyO3/pyo3#2555 and remove stale allow.
[ci skip-build-wheels]
1 parent 29cd22f commit db25569

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/rust/engine/src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@
2424
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
2525
// Arc<Mutex> can be more clear than needing to grok Orderings:
2626
#![allow(clippy::mutex_atomic)]
27-
// We only use unsafe pointer dereferences in our no_mangle exposed API, but it is nicer to list
28-
// just the one minor call as unsafe, than to mark the whole function as unsafe which may hide
29-
// other unsafeness.
30-
#![allow(clippy::not_unsafe_ptr_arg_deref)]
27+
// TODO: See https://github.com/PyO3/pyo3/issues/2555
28+
#![allow(clippy::borrow_deref_ref)]
3129
#![type_length_limit = "43757804"]
3230

3331
#[macro_use]

0 commit comments

Comments
 (0)