Update to latest tree-sitter commit

This is needed for https://github.com/tree-sitter/tree-sitter/pull/1845
This commit is contained in:
Max Brunsfeld 2022-08-25 10:58:46 -07:00
parent 345b266dee
commit 1f12186e3c
4 changed files with 11 additions and 3 deletions

View file

@ -2435,7 +2435,7 @@ impl ToOffset for PointUtf16 {
impl ToOffset for usize {
fn to_offset<'a>(&self, snapshot: &BufferSnapshot) -> usize {
assert!(*self <= snapshot.len(), "offset is out of range");
assert!(*self <= snapshot.len(), "offset {self} is out of range");
*self
}
}