From 1cce884c40a7298dc604e649faf7003c6f34f32b Mon Sep 17 00:00:00 2001 From: lazymio Date: Sat, 23 Apr 2022 22:41:59 +0200 Subject: [PATCH] Format --- bindings/rust/src/ffi.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bindings/rust/src/ffi.rs b/bindings/rust/src/ffi.rs index 98c2210a..a4624a02 100644 --- a/bindings/rust/src/ffi.rs +++ b/bindings/rust/src/ffi.rs @@ -188,10 +188,7 @@ pub extern "C" fn insn_in_hook_proxy( (user_data.callback)(&mut user_data.uc, port, size); } -pub extern "C" fn insn_invalid_hook_proxy( - uc: uc_handle, - user_data: *mut UcHook, -) -> bool +pub extern "C" fn insn_invalid_hook_proxy(uc: uc_handle, user_data: *mut UcHook) -> bool where F: FnMut(&mut crate::Unicorn) -> bool, {