summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/helpers.rs')
-rw-r--r--widget/src/helpers.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 4dd938ed..42d0f499 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -180,7 +180,7 @@ macro_rules! text {
/// span(" "),
/// span("And I am bold!").font(Font { weight: font::Weight::Bold, ..Font::default() }),
/// ]
-/// .on_link_clicked(never)
+/// .on_link_click(never)
/// .size(20)
/// .into()
/// }
@@ -1153,7 +1153,7 @@ where
/// span(" "),
/// span("And I am bold!").font(Font { weight: font::Weight::Bold, ..Font::default() }),
/// ])
-/// .on_link_clicked(never)
+/// .on_link_click(never)
/// .size(20)
/// .into()
/// }
@@ -1197,7 +1197,7 @@ where
/// " ",
/// span("And I am bold!").font(Font { weight: font::Weight::Bold, ..Font::default() }),
/// ]
-/// .on_link_clicked(never)
+/// .on_link_click(never)
/// .size(20)
/// .into()
/// }