Don't call the user a "silly bumpkin" ()

This commit is contained in:
Chris Wong 2021-01-09 18:51:05 +13:00 committed by GitHub
parent 87b7c9c2ba
commit b8872d4098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -497,7 +497,7 @@ impl Parser {
fn element(&mut self, name: TokenStream) -> ast::Markup { fn element(&mut self, name: TokenStream) -> ast::Markup {
if self.in_attr { if self.in_attr {
let span = ast::span_tokens(name); let span = ast::span_tokens(name);
abort!(span, "unexpected element, you silly bumpkin"); abort!(span, "unexpected element");
} }
let attrs = self.attrs(); let attrs = self.attrs();
let body = match self.peek() { let body = match self.peek() {