Don't call the user a "silly bumpkin" (#255)
This commit is contained in:
parent
87b7c9c2ba
commit
b8872d4098
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue