1
Fork 0

Remove unused function

This commit is contained in:
Aleksey Kladov 2020-08-29 11:00:59 +02:00
parent ccffea5b6b
commit 518cac9190
2 changed files with 1 additions and 18 deletions

View file

@ -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()