Remove obsolete clippy suppression

This type has been extracted to an alias, so it is okay now.
This commit is contained in:
Johannes Altmanninger 2023-03-05 10:30:28 +01:00
parent d839fea748
commit e6994ea3ac

View File

@ -120,7 +120,6 @@ type NativeCallback = Box<dyn Fn(&mut AutoCloseFd, ItemWakeReason) + Send + Sync
/// only `src/io.cpp`) is ported to rust /// only `src/io.cpp`) is ported to rust
enum FdMonitorCallback { enum FdMonitorCallback {
None, None,
#[allow(clippy::type_complexity)]
Native(NativeCallback), Native(NativeCallback),
Ffi(FfiCallback /* fn ptr */, void_ptr /* param */), Ffi(FfiCallback /* fn ptr */, void_ptr /* param */),
} }