mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 11:29:25 +00:00
Remove unused bytes_at
method
This commit is contained in:
parent
32859a38ed
commit
99d0100c45
1 changed files with 0 additions and 6 deletions
|
@ -1314,12 +1314,6 @@ impl MultiBufferSnapshot {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn bytes_at<'a, T: ToOffset>(&'a self, position: T) -> impl 'a + Iterator<Item = u8> {
|
||||
self.bytes_in_range(position.to_offset(self)..self.len())
|
||||
.flatten()
|
||||
.copied()
|
||||
}
|
||||
|
||||
pub fn buffer_rows<'a>(&'a self, start_row: u32) -> MultiBufferRows<'a> {
|
||||
let mut result = MultiBufferRows {
|
||||
buffer_row_range: 0..0,
|
||||
|
|
Loading…
Reference in a new issue