refactor: RawMatch -> textbuf/raw_match.rs

This commit is contained in:
graelo 2021-03-20 07:01:23 +01:00
parent 9afdcf3db2
commit f76ed75f5b
3 changed files with 10 additions and 9 deletions

8
src/textbuf/raw_match.rs Normal file
View file

@ -0,0 +1,8 @@
/// Internal surrogate for `Match`, before a Hint has been associated.
#[derive(Debug)]
pub(super) struct RawMatch<'a> {
pub x: i32,
pub y: i32,
pub pattern: &'a str,
pub text: &'a str,
}