Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza1311 committed Oct 3, 2022
1 parent ca6c03f commit ff923bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/yew-macro/src/html_tree/html_component.rs
Expand Up @@ -61,7 +61,10 @@ impl Parse for HtmlComponent {
.and_then(|(_, cursor)| cursor.punct())
.and_then(|(_, cursor)| cursor.ident())
.ok_or_else(|| {
syn::Error::new(Span::call_site(), "expected a valid closing tag (e.g.: </Component>)")
syn::Error::new(
Span::call_site(),
"expected a valid closing tag (e.g.: </Component>)",
)
})?;

let fork = input.fork();
Expand Down

0 comments on commit ff923bd

Please sign in to comment.