add initial search inside modified buffers

This commit is contained in:
KCaverly 2023-09-14 14:58:34 -04:00
parent f86e5a987f
commit c19c8899fe
3 changed files with 216 additions and 65 deletions

View file

@ -17,7 +17,7 @@ use std::{
use tree_sitter::{Parser, QueryCursor};
#[derive(Debug, PartialEq, Eq, Clone, Hash)]
pub struct SpanDigest([u8; 20]);
pub struct SpanDigest(pub [u8; 20]);
impl FromSql for SpanDigest {
fn column_result(value: ValueRef) -> FromSqlResult<Self> {