diff --git a/src/projection/vec2list.rs b/src/projection/vec2list.rs index 0548bc2..0711bc3 100644 --- a/src/projection/vec2list.rs +++ b/src/projection/vec2list.rs @@ -69,7 +69,7 @@ where } VecDiff::Push(val) => { self.cast.notify(&ListDiff::Insert{ - idx: self.cur_len + 1, + idx: self.cur_len, val: val.clone() }); self.cur_len += 1;