From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/litemap/tests/store.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vendor/litemap/tests') diff --git a/vendor/litemap/tests/store.rs b/vendor/litemap/tests/store.rs index 0cc8792f8..bd28bee96 100644 --- a/vendor/litemap/tests/store.rs +++ b/vendor/litemap/tests/store.rs @@ -52,6 +52,13 @@ impl Store for VecWithDefaults<(K, V)> { } } +impl StoreFromIterable for VecWithDefaults<(K, V)> { + fn lm_sort_from_iter>(iter: I) -> Self { + let v: Vec<_> = Vec::lm_sort_from_iter(iter); + Self(v) + } +} + impl StoreMut for VecWithDefaults<(K, V)> { #[inline] fn lm_with_capacity(capacity: usize) -> Self { -- cgit v1.2.3