rust/hg-core/src/revlog/nodemap.rs
changeset 49095 b97835b2e2d4
parent 46432 18a261b11b20
child 49930 e98fd81bb151
equal deleted inserted replaced
49094:a9ece9796a97 49095:b97835b2e2d4
   401             }
   401             }
   402         }
   402         }
   403         Err(NodeMapError::MultipleResults)
   403         Err(NodeMapError::MultipleResults)
   404     }
   404     }
   405 
   405 
   406     fn visit<'n>(&'n self, prefix: NodePrefix) -> NodeTreeVisitor<'n> {
   406     fn visit(&self, prefix: NodePrefix) -> NodeTreeVisitor {
   407         NodeTreeVisitor {
   407         NodeTreeVisitor {
   408             nt: self,
   408             nt: self,
   409             prefix,
   409             prefix,
   410             visit: self.len() - 1,
   410             visit: self.len() - 1,
   411             nybble_idx: 0,
   411             nybble_idx: 0,