diff options
Diffstat (limited to 'vendor/litemap/src/map.rs')
-rw-r--r-- | vendor/litemap/src/map.rs | 4 |
1 files changed, 2 insertions, 2 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 |