##// END OF EJS Templates
rust-clippy: add `is_empty` method to please the `clippy` gods...
Raphaël Gomès -
r50818:547d6817 default
parent child Browse files
Show More
@@ -1380,6 +1380,10 b' impl OwningDirstateMap {'
1380 map.nodes_with_entry_count as usize
1380 map.nodes_with_entry_count as usize
1381 }
1381 }
1382
1382
1383 pub fn is_empty(&self) -> bool {
1384 self.len() == 0
1385 }
1386
1383 pub fn contains_key(
1387 pub fn contains_key(
1384 &self,
1388 &self,
1385 key: &HgPath,
1389 key: &HgPath,
General Comments 0
You need to be logged in to leave comments. Login now