From 0cbc2ab62773db17ec29e1027992fcf55905ed76 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Tue, 12 Aug 2025 15:35:43 -0700 Subject: [PATCH] [Rust] Fix warnings about names that are not snake case The names can simply be omitted since they are only mentioned in the declaration of a function pointer. --- rust/src/interaction/handler.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/rust/src/interaction/handler.rs b/rust/src/interaction/handler.rs index 11929c9403..2af63eb10f 100644 --- a/rust/src/interaction/handler.rs +++ b/rust/src/interaction/handler.rs @@ -272,11 +272,9 @@ pub struct InteractionHandlerTask { ctxt: *mut c_void, task: Option< unsafe extern "C" fn( - taskCtxt: *mut c_void, - progress: Option< - unsafe extern "C" fn(progressCtxt: *mut c_void, cur: usize, max: usize) -> bool, - >, - progressCtxt: *mut c_void, + *mut c_void, + progress: Option bool>, + *mut c_void, ), >, }