Fix clippy warning about unused arguments in `tests/test_gc.rs`
This commit is contained in:
parent
5f2ec47bea
commit
1e8e6fd827
|
@ -277,8 +277,8 @@ fn gc_during_borrow() {
|
|||
unsafe {
|
||||
// declare a dummy visitor function
|
||||
extern "C" fn novisit(
|
||||
object: *mut pyo3::ffi::PyObject,
|
||||
arg: *mut core::ffi::c_void,
|
||||
_object: *mut pyo3::ffi::PyObject,
|
||||
_arg: *mut core::ffi::c_void,
|
||||
) -> std::os::raw::c_int {
|
||||
0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue