mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-25 11:57:12 +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) {
|
if input.peek(LitStr) || input.peek(Ident) {
|
||||||
missing_trailing_comma!(input.span());
|
missing_trailing_comma!(content.span());
|
||||||
}
|
}
|
||||||
Ok(Self { name, content })
|
Ok(Self { name, content })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue