We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider the following invocation:
html! { (1 + 1) }
This expands to
{ extern crate alloc; extern crate maud; let mut __maud_output = alloc::string::String::with_capacity(7usize); { use ::maud::macro_private::*; match ChooseRenderOrDisplay(&1 + 1) { // <- the problem x => (&&x) .implements_render_or_display() .render_to(x.0, &mut __maud_output), } }; maud::PreEscaped(__maud_output) }
Clearly &1 + 1 should have been &(1 + 1).
&1 + 1
&(1 + 1)
(Also, the String size hint is wrong.)
The text was updated successfully, but these errors were encountered:
Fix #382 (#383)
79259ab
* Properly group splice expressions * Add test for fix
Successfully merging a pull request may close this issue.
Consider the following invocation:
This expands to
Clearly
&1 + 1
should have been&(1 + 1)
.(Also, the String size hint is wrong.)
The text was updated successfully, but these errors were encountered: