diff --git a/proxmox-router/src/router.rs b/proxmox-router/src/router.rs index 0c4e78d4..49593508 100644 --- a/proxmox-router/src/router.rs +++ b/proxmox-router/src/router.rs @@ -495,6 +495,7 @@ impl Eq for ApiHandler {} impl PartialEq for ApiHandler { fn eq(&self, rhs: &Self) -> bool { unsafe { + #[allow(clippy::missing_transmute_annotations)] match (self, rhs) { (ApiHandler::Sync(l), ApiHandler::Sync(r)) => { core::mem::transmute::<_, usize>(l) == core::mem::transmute::<_, usize>(r)