mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +00:00
fix the span the error reports under
This commit is contained in:
parent
3655e7c89e
commit
c04ce2901e
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ impl Parse for ComponentField {
|
|||
}
|
||||
};
|
||||
if input.peek(LitStr) || input.peek(Ident) {
|
||||
missing_trailing_comma!(input.span());
|
||||
missing_trailing_comma!(content.span());
|
||||
}
|
||||
Ok(Self { name, content })
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue