From 3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:43 +0200 Subject: Merging upstream version 1.69.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/litemap/src/map.rs | 4 ++-- vendor/litemap/src/store/mod.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/litemap/src') diff --git a/vendor/litemap/src/map.rs b/vendor/litemap/src/map.rs index f86383337..669dc464d 100644 --- a/vendor/litemap/src/map.rs +++ b/vendor/litemap/src/map.rs @@ -135,8 +135,8 @@ where /// let mut map = LiteMap::new_vec(); /// map.insert(1, "one"); /// map.insert(2, "two"); - /// assert_eq!(map.contains_key(&1), true); - /// assert_eq!(map.contains_key(&3), false); + /// assert!(map.contains_key(&1)); + /// assert!(!map.contains_key(&3)); /// ``` pub fn contains_key(&self, key: &Q) -> bool where diff --git a/vendor/litemap/src/store/mod.rs b/vendor/litemap/src/store/mod.rs index e4ba6f7b9..7f4386783 100644 --- a/vendor/litemap/src/store/mod.rs +++ b/vendor/litemap/src/store/mod.rs @@ -18,7 +18,7 @@ //! - [`StoreIterable`] for methods that return iterators //! - [`StoreFromIterator`] to enable `FromIterator` for LiteMap //! -//! To test your implementation, enable the `"testing"` feature and use [`check_store()`]. +//! To test your implementation, enable the `"testing"` Cargo feature and use [`check_store()`]. //! //! [`check_store()`]: crate::testing::check_store -- cgit v1.2.3