core: Replace map/map_default with map_ref/map_default_ref
This commit is contained in:
parent
64de6d638d
commit
e8fe718bfd
30 changed files with 79 additions and 97 deletions
|
@ -200,7 +200,7 @@ fn each_ancestor(list: &mut AncestorList,
|
|||
// the end of the list, which doesn't make sense to coalesce.
|
||||
return do (**ancestors).map_default((None,false)) |ancestor_arc| {
|
||||
// NB: Takes a lock! (this ancestor node)
|
||||
do access_ancestors(&ancestor_arc) |nobe| {
|
||||
do access_ancestors(ancestor_arc) |nobe| {
|
||||
// Check monotonicity
|
||||
assert last_generation > nobe.generation;
|
||||
/*##########################################################*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue