make clippy happy

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
This commit is contained in:
Andrew Whitehead 2020-02-20 14:30:48 -08:00
parent ca6cb99a4b
commit aae57e704f
No known key found for this signature in database
GPG Key ID: F0E1D1AF68782A39
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ where
{
#[inline]
fn cb_bf_releasebuffer() -> Option<ffi::releasebufferproc> {
unsafe extern "C" fn wrap<T>(slf: *mut ffi::PyObject, arg1: *mut ffi::Py_buffer) -> ()
unsafe extern "C" fn wrap<T>(slf: *mut ffi::PyObject, arg1: *mut ffi::Py_buffer)
where
T: for<'p> PyBufferReleaseBufferProtocol<'p>,
{