Start work on WrapMap::chunks_at

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2021-07-19 16:23:56 -07:00
parent 8e9a5e072d
commit f9e13f3429
6 changed files with 175 additions and 45 deletions

View file

@ -63,7 +63,7 @@ where
&self.sum_dimension
}
pub fn end(&self, cx: &<T::Summary as Summary>::Context) -> U {
pub fn sum_end(&self, cx: &<T::Summary as Summary>::Context) -> U {
if let Some(item_summary) = self.item_summary() {
let mut end = self.sum_start().clone();
end.add_summary(item_summary, cx);