diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:43 +0000 |
commit | 3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245 (patch) | |
tree | daf049b282ab10e8c3d03e409b3cd84ff3f7690c /vendor/litemap/src | |
parent | Adding debian version 1.68.2+dfsg1-1. (diff) | |
download | rustc-3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245.tar.xz rustc-3e3e70d529d8c7d7c4d7bc4fefc9f109393b9245.zip |
Merging upstream version 1.69.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/litemap/src')
-rw-r--r-- | vendor/litemap/src/map.rs | 4 | ||||
-rw-r--r-- | vendor/litemap/src/store/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
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<Q: ?Sized>(&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 |