Fix tests and clippy warnings

This commit is contained in:
Dhruv Manilawala
2024-03-07 16:06:22 +05:30
parent 78ee6441a7
commit b5cc384bb1
35 changed files with 253 additions and 151 deletions

View File

@@ -76,7 +76,7 @@ impl StringParser {
#[inline]
fn range(&self, start_location: TextSize) -> TextRange {
TextRange::new(dbg!(start_location), dbg!(self.offset))
TextRange::new(start_location, self.offset)
}
/// Returns the next byte in the string, if there is one.