Skip to content

Commit

Permalink
Fix clippy warning about unused arguments in tests/test_gc.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Apr 9, 2020
1 parent 5f2ec47 commit 1e8e6fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_gc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1e8e6fd

Please sign in to comment.