Skip to content

Commit 6456729

Browse files
authored
fix: remove unnecessary trait bounds in extend_sorted_vec helper (#19154)
1 parent 01820fd commit 6456729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/trie/common/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use alloc::vec::Vec;
1111
/// 5. Appending and re-sorting only if new items were added
1212
pub(crate) fn extend_sorted_vec<K, V>(target: &mut Vec<(K, V)>, other: &[(K, V)])
1313
where
14-
K: Clone + Ord + core::hash::Hash + Eq,
14+
K: Clone + Ord,
1515
V: Clone,
1616
{
1717
if other.is_empty() {

0 commit comments

Comments
 (0)