summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-04 21:22:01 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-04 21:22:01 +0100
commitf8c71a20a99568b2ddd0e07ac021d37ce2933856 (patch)
treebdf43cb3b92295e58ab892a4a431dd476644da7f /widget/src/helpers.rs
parente8020f3eaf3baec2b41847f6250d8554136e8d89 (diff)
downloadiced-f8c71a20a99568b2ddd0e07ac021d37ce2933856.tar.gz
iced-f8c71a20a99568b2ddd0e07ac021d37ce2933856.tar.bz2
iced-f8c71a20a99568b2ddd0e07ac021d37ce2933856.zip
Rename `on_link_clicked` to `on_link_click`
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()
/// }