summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-08-12 15:35:43 -0700
committerMark Rowe <mark@vector35.com>2025-08-13 19:05:08 -0700
commit0cbc2ab62773db17ec29e1027992fcf55905ed76 (patch)
tree6f92a48cd889e3c95b4e001f030aca9d896020a6 /rust/src
parentb6d0ef9b633902deb81961b77126b9facc4f4e55 (diff)
[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.
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/interaction/handler.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/rust/src/interaction/handler.rs b/rust/src/interaction/handler.rs
index 11929c94..2af63eb1 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<unsafe extern "C" fn(*mut c_void, cur: usize, max: usize) -> bool>,
+ *mut c_void,
),
>,
}