diff options
Diffstat (limited to 'components/dom_struct/lib.rs')
-rw-r--r-- | components/dom_struct/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/dom_struct/lib.rs b/components/dom_struct/lib.rs index 9c971665eed..bd3a9765e29 100644 --- a/components/dom_struct/lib.rs +++ b/components/dom_struct/lib.rs @@ -55,7 +55,8 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream { &self.#ident } } - ).into() + ) + .into() } else { panic!("#[dom_struct] only applies to structs with named fields"); } |