diff options
| author | Mason Reed <mason@vector35.com> | 2024-11-11 14:35:01 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-11-11 14:35:01 -0500 |
| commit | 911203528b5a5bfc7a98e86ad55b80f7a1385969 (patch) | |
| tree | fcb42025169165fd12500db6b3eeb3e1deb2d6cd /plugins | |
| parent | a3d1c2ce7bf8b6d55917d7f3b51118d8748610e3 (diff) | |
WARP: Run `cargo clippy`
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/warp/src/cache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/warp/src/cache.rs b/plugins/warp/src/cache.rs index 4abd881f..33d70548 100644 --- a/plugins/warp/src/cache.rs +++ b/plugins/warp/src/cache.rs @@ -133,7 +133,7 @@ pub fn try_cached_function_guid(function: &BNFunction) -> Option<FunctionGUID> { guid_cache.get(&view_id)?.try_function_guid(function) } -pub fn cached_type_reference<'a>( +pub fn cached_type_reference( view: &BinaryView, visited_refs: &mut HashSet<TypeRefID>, type_ref: &BNNamedTypeReference, @@ -151,7 +151,7 @@ pub fn cached_type_reference<'a>( } } -pub fn cached_type_references<'a>(view: &BinaryView) -> Option<Ref<ViewID, TypeRefCache>> { +pub fn cached_type_references(view: &BinaryView) -> Option<Ref<ViewID, TypeRefCache>> { let view_id = ViewID::from(view); let type_ref_cache = TYPE_REF_CACHE.get_or_init(Default::default); type_ref_cache.get(&view_id) |
