Skip to content

Commit 8794776

Browse files
committed
progress
1 parent 86e83c8 commit 8794776

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/pgt_lexer_new/src/lexed_str.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ impl<'a> LexedStr<'a> {
5858
let hi = self.start[i + 1] as usize;
5959
lo..hi
6060
}
61-
pub fn text_start(&self, i: usize) -> usize {
62-
assert!(i <= self.len());
63-
self.start[i] as usize
64-
}
6561

6662
pub fn errors(&self) -> impl Iterator<Item = (usize, &str)> + '_ {
6763
self.error

0 commit comments

Comments
 (0)