Rename AnchorRangeSet::to_point_ranges -> point_ranges

This commit is contained in:
Max Brunsfeld 2021-10-28 16:32:49 -07:00
parent 9bc08e446b
commit a1e576343e
3 changed files with 5 additions and 5 deletions

View file

@ -585,7 +585,7 @@ impl Buffer {
if let Some(inserted) = request.inserted.as_ref() {
let inserted_row_ranges = contiguous_ranges(
inserted
.to_point_ranges(&snapshot)
.point_ranges(&snapshot)
.flat_map(|range| range.start.row..range.end.row + 1),
max_rows_between_yields,
);