From 58cc21e4fae58cedd586497a220a0bbe285ef831 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 24 Nov 2025 18:43:52 -0500 Subject: [WARP] Misc cleanup --- plugins/warp/src/cache/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/warp/src/cache/function.rs') diff --git a/plugins/warp/src/cache/function.rs b/plugins/warp/src/cache/function.rs index a953f514..79b9e86a 100644 --- a/plugins/warp/src/cache/function.rs +++ b/plugins/warp/src/cache/function.rs @@ -11,7 +11,7 @@ use warp::signature::function::Function; /// IMPORTANT: This will mark the function as needing updates, if you intend to fill in functions with /// no match (i.e. `None`), then you must change this function to prevent marking that as needing updates. /// However, it's perfectly valid to remove a match and need to update the function still, so be careful. -pub fn insert_cached_function_match(function: &BNFunction, matched_function: Option) { +pub fn insert_cached_function_match(function: &BNFunction, matched_function: Option<&Function>) { let view = function.view(); let function_start = function.start(); // NOTE: If we expect to run match_function multiple times on a function, we should move this elsewhere. -- cgit v1.3.1