Only allow specific keywords for affiliated keywords.

This commit is contained in:
Tom Alexander
2023-08-29 16:56:07 -04:00
parent cc671925db
commit 9df40fb13f
4 changed files with 120 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ impl<'s> DiffResult<'s> {
indentation = " ".repeat(indentation),
status_text = status_text,
name = self.name,
char_offset = rust_offset,
char_offset = rust_offset + 1,
message = self.message.as_ref().map(|m| m.as_str()).unwrap_or("")
);
for child in self.children.iter() {