Fix clippy warning about unused arguments in `tests/test_gc.rs`

This commit is contained in:
Martin Larralde 2020-04-09 02:06:16 +02:00
parent 5f2ec47bea
commit 1e8e6fd827
1 changed files with 2 additions and 2 deletions

View File

@ -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
}