tamer: asg::ident: {prolog=>prologue} typo fix

Somewhat humorous.
main
Mike Gerwitz 2022-06-23 09:17:57 -04:00
parent 2fafc331a1
commit 873e5fc761
2 changed files with 3 additions and 5 deletions

View File

@ -236,8 +236,7 @@ impl Ident {
Ok(Ident::Ident(name, kind, src))
}
// These represent the prolog and epilogue of maps. This
// situation will be resolved in the future.
// These represent the prologue and epilogue of maps.
Ident::IdentFragment(
_,
IdentKind::MapHead
@ -356,8 +355,7 @@ impl Ident {
Ok(self)
}
// These represent the prolog and epilogue of maps. This
// situation will be resolved in the future.
// These represent the prologue and epilogue of maps.
Ident::IdentFragment(
_,
IdentKind::MapHead

View File

@ -217,7 +217,7 @@ impl<'s, B: BufRead, S: Escaper> XmlXirReader<'s, B, S> {
.and_then(|comment| Ok(Token::Comment(comment, span)))
}),
// TODO: This must appear in the Prolog.
// TODO: This must appear in the prologue.
QuickXmlEvent::Decl(decl) => {
match Self::validate_decl(&decl, prev_pos, ctx) {
Err(x) => Some(Err(x)),