-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
564: html!: fix explicit return types in callbacks r=jstarry a=totorigolo ### Problem (see #560) The html! macro didn't properly handle explicit return types in callbacks, considering the '>' in '->' as the end of the HTML tag. ```rust html! { <div onblur=|_| -> u32 0 /> // ^ here } ``` Fixes: #560 Co-authored-by: Thomas Lacroix <toto.rigolo@free.fr>
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters