output: autobox in view! macro

This commit is contained in:
🪞👃🪞 2025-04-26 21:19:48 +03:00
parent 3d01f5558c
commit 7ba08b8be3

View file

@ -11,7 +11,7 @@ use crate::*;
fn get_content_sym (&'a $self, value: &Value<'a>) -> Option<RenderBox<'a, $Output>> {
if let Value::Sym(s) = value {
match *s {
$($sym => Some($body),)*
$($sym => Some($body.boxed()),)*
_ => None
}
} else {