Skip to content

Commit

Permalink
gap buffer p3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Jun 12, 2024
1 parent 7a55b8d commit e4fde96
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/gap_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,4 @@ impl GapBuffer {
self.gap_end += move_size;
}
}

fn to_string(&self) -> String {
let mut result: Vec<char> =
Vec::with_capacity(self.buffer.len() - (self.gap_end - self.gap_start));
}
}

0 comments on commit e4fde96

Please sign in to comment.