summaryrefslogtreecommitdiff
path: root/plugins/warp/src/cache
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-04 15:10:40 -0500
committerMason Reed <mason@vector35.com>2025-12-05 12:26:29 -0500
commit6546844ca4274cd11ec2c91da7c6d7b5e8a82d0b (patch)
tree7341b815993247cba9df7ea95585ce9723510fa0 /plugins/warp/src/cache
parent6eb12c3c3f53079a822881bf6e197105b25a0fe3 (diff)
[Rust] Fix misc clippy lints and warnings
These are introduced after changing to Rust 1.91.1
Diffstat (limited to 'plugins/warp/src/cache')
-rw-r--r--plugins/warp/src/cache/type_reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/cache/type_reference.rs b/plugins/warp/src/cache/type_reference.rs
index 0b07c139..2c59c2fb 100644
--- a/plugins/warp/src/cache/type_reference.rs
+++ b/plugins/warp/src/cache/type_reference.rs
@@ -39,7 +39,7 @@ pub fn cached_type_reference(
}
}
-pub fn cached_type_references(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)