Box the widget: Widget field of WidgetInstance (#3506)

Box the `pub widget: Box<Widget>` field of `WidgetInstance`
This commit is contained in:
Keavon Chambers
2025-12-22 04:18:33 -08:00
committed by GitHub
parent 20bbe6cdcc
commit 9d26c040e9
3 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -594,7 +594,7 @@ mod test {
if let FrontendMessage::UpdateDialogColumn1 { diff } = response {
if let DiffUpdate::Layout(sub_layout) = &diff[0].new_value {
if let LayoutGroup::Row { widgets } = &sub_layout.0[0] {
if let Widget::TextLabel(TextLabel { value, .. }) = &widgets[0].widget {
if let Widget::TextLabel(TextLabel { value, .. }) = &*widgets[0].widget {
print_problem_to_terminal_on_failure(value);
}
}