withoutboats / gapbuffer

GapBuffer data structure in Rust.
16 stars 4 forks source link

thread '<main>' panicked at 'index out of range', #13

Closed rofrol closed 9 years ago

rofrol commented 9 years ago

When using iota i got two times 'index out of range' when I was using backspace.

 thread '<main>' panicked at 'index out of range', /home/user/.cargo/git/checkouts/gapbuffer-8b2fd52819acbe54/master/src/lib.rs:271

I can't reproduce it now

gchp commented 9 years ago

This was due to a problem with Iota, rather than gapbuffer.

It was fixed with this commit: https://github.com/gchp/iota/commit/d59d46b77d0e0b7d37eda792b732a5bcee8a707f