From 4c85c65c6adac2441631480a216a1041a6760e1d Mon Sep 17 00:00:00 2001 From: jesse Date: Mon, 13 Oct 2025 23:54:23 +0800 Subject: [PATCH] change hint .reference to .handle in tuple --- crates/libafl_bolts/src/tuples.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/libafl_bolts/src/tuples.rs b/crates/libafl_bolts/src/tuples.rs index 459d8f520b..ee2164b9ad 100644 --- a/crates/libafl_bolts/src/tuples.rs +++ b/crates/libafl_bolts/src/tuples.rs @@ -440,10 +440,10 @@ where #[cfg(feature = "alloc")] pub trait MatchName { /// Match for a name and return the borrowed value - #[deprecated = "Use `.reference` and either `.get` (fallible access) or `[]` (infallible access) instead"] + #[deprecated = "Use `.handle` and either `.get` (fallible access) or `[]` (infallible access) instead"] fn match_name(&self, name: &str) -> Option<&T>; /// Match for a name and return the mut borrowed value - #[deprecated = "Use `.reference` and either `.get` (fallible access) or `[]` (infallible access) instead"] + #[deprecated = "Use `.handle` and either `.get` (fallible access) or `[]` (infallible access) instead"] fn match_name_mut(&mut self, name: &str) -> Option<&mut T>; }