Print character offset from rust's parse perspective during compare.

This commit is contained in:
Tom Alexander
2023-08-29 14:40:58 -04:00
parent ac313d093e
commit 3e6df7ba78
3 changed files with 201 additions and 72 deletions

View File

@@ -374,3 +374,9 @@ impl<'s> Source<'s> for Timestamp<'s> {
self.source
}
}
impl<'s> Source<'s> for PlainText<'s> {
fn get_source(&'s self) -> &'s str {
self.source
}
}