mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
output: autobox in view! macro
This commit is contained in:
parent
3d01f5558c
commit
7ba08b8be3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue