1
Fork 0

core: Replace map/map_default with map_ref/map_default_ref

This commit is contained in:
Brian Anderson 2012-09-26 16:27:12 -07:00
parent 64de6d638d
commit e8fe718bfd
30 changed files with 79 additions and 97 deletions

View file

@ -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;
/*##########################################################*