##// END OF EJS Templates
rust-clippy: simplify return type of debug function...
Raphaël Gomès -
r50819:66ffe374 default
parent child Browse files
Show More
@@ -939,6 +939,8 b' where'
939 })
939 })
940 }
940 }
941
941
942 type DebugDirstateTuple<'a> = (&'a HgPath, (u8, i32, i32, i32));
943
942 impl OwningDirstateMap {
944 impl OwningDirstateMap {
943 pub fn clear(&mut self) {
945 pub fn clear(&mut self) {
944 self.with_dmap_mut(|map| {
946 self.with_dmap_mut(|map| {
@@ -1477,12 +1479,8 b' impl OwningDirstateMap {'
1477 &self,
1479 &self,
1478 all: bool,
1480 all: bool,
1479 ) -> Box<
1481 ) -> Box<
1480 dyn Iterator<
1482 dyn Iterator<Item = Result<DebugDirstateTuple, DirstateV2ParseError>>
1481 Item = Result<
1483 + Send
1482 (&HgPath, (u8, i32, i32, i32)),
1483 DirstateV2ParseError,
1484 >,
1485 > + Send
1486 + '_,
1484 + '_,
1487 > {
1485 > {
1488 let map = self.get_map();
1486 let map = self.get_map();
General Comments 0
You need to be logged in to leave comments. Login now