Fixed bug in Rope::rebalance(). Stats weren't updated after rebalance.
This commit is contained in:
parent
5500c845f5
commit
2df1302723
|
@ -564,6 +564,8 @@ impl Rope {
|
||||||
left.rebalance();
|
left.rebalance();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.update_stats();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user