aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/edit_map.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/edit_map.rs')
-rw-r--r--src/util/edit_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/edit_map.rs b/src/util/edit_map.rs
index 38ece01..3bcef48 100644
--- a/src/util/edit_map.rs
+++ b/src/util/edit_map.rs
@@ -104,7 +104,7 @@ impl EditMap {
let len_before = events.len();
let mut index = self.map.len();
- let mut vecs: Vec<Vec<Event>> = Vec::with_capacity(index * 2 + 1);
+ let mut vecs = Vec::with_capacity(index * 2 + 1);
while index > 0 {
index -= 1;
vecs.push(events.split_off(self.map[index].0 + self.map[index].1));