summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--widget/src/helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index aa9394cb..6def61d5 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -121,7 +121,7 @@ macro_rules! rich_text {
$crate::Column::new()
);
($($x:expr),+ $(,)?) => (
- $crate::text::Rich::with_spans([$($crate::text::Span::from($x)),+])
+ $crate::text::Rich::from_iter([$($crate::text::Span::from($x)),+])
);
}