parent
2fafc331a1
commit
873e5fc761
|
@ -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
|
||||
|
|
|
@ -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)),
|
||||
|
|
Loading…
Reference in New Issue