Use a single function for finding all keywords.

This commit is contained in:
Tom Alexander
2023-09-04 19:17:23 -04:00
parent d38e198258
commit 275b4b53d1
7 changed files with 111 additions and 54 deletions

View File

@@ -87,6 +87,8 @@ pub struct HorizontalRule<'s> {
#[derive(Debug)]
pub struct Keyword<'s> {
pub source: &'s str,
pub key: &'s str,
pub value: &'s str,
}
#[derive(Debug)]