diff --git a/crates/trie/trie/src/proof_v2/target.rs b/crates/trie/trie/src/proof_v2/target.rs index a969089f3a..563ed8230f 100644 --- a/crates/trie/trie/src/proof_v2/target.rs +++ b/crates/trie/trie/src/proof_v2/target.rs @@ -98,9 +98,9 @@ impl<'a> SubTrieTargets<'a> { /// Given a set of [`Target`]s, returns an iterator over those same [`Target`]s chunked by the /// sub-tries they apply to within the overall trie. -pub(crate) fn iter_sub_trie_targets<'a>( - targets: &'a mut [Target], -) -> impl Iterator> { +pub(crate) fn iter_sub_trie_targets( + targets: &mut [Target], +) -> impl Iterator> { // First sort by the sub-trie prefix of each target, falling back to the `min_len` in cases // where the sub-trie prefixes are equal (to differentiate targets which match the root node and // those which don't).