From ff923bd2f2c5e830a681ed9cf87f7611b2f2e41d Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Tue, 4 Oct 2022 01:55:23 +0500 Subject: [PATCH] fmt --- packages/yew-macro/src/html_tree/html_component.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/yew-macro/src/html_tree/html_component.rs b/packages/yew-macro/src/html_tree/html_component.rs index 751f255f751..e3ef15954e9 100644 --- a/packages/yew-macro/src/html_tree/html_component.rs +++ b/packages/yew-macro/src/html_tree/html_component.rs @@ -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.: )") + syn::Error::new( + Span::call_site(), + "expected a valid closing tag (e.g.: )", + ) })?; let fork = input.fork();