Remove unused function
This commit is contained in:
parent
ccffea5b6b
commit
518cac9190
2 changed files with 1 additions and 18 deletions
|
@ -439,10 +439,6 @@ impl<'a> StringReader<'a> {
|
|||
(lit_kind, id)
|
||||
}
|
||||
|
||||
pub fn pos(&self) -> BytePos {
|
||||
self.pos
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn src_index(&self, pos: BytePos) -> usize {
|
||||
(pos - self.start_pos).to_usize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue