aboutsummaryrefslogtreecommitdiff
path: root/examples/markdown
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-21 12:15:51 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-11-21 12:15:51 +0100
commit8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5 (patch)
treeb891df1099d279b784661860d8b181b39da9dc47 /examples/markdown
parentdocs: update changelog (diff)
downloadiced_selection-8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5.tar.gz
chore: update as necessary for upstream iced changes
Diffstat (limited to '')
-rw-r--r--examples/markdown/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index fae13ca..4963792 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -17,7 +17,7 @@ struct State {
#[derive(Debug, Clone)]
enum Message {
Edit(text_editor::Action),
- LinkClicked(markdown::Url),
+ LinkClicked(markdown::Uri),
}
impl State {
@@ -45,7 +45,7 @@ impl State {
}
}
Message::LinkClicked(link) => {
- let _ = open::that_in_background(link.to_string());
+ let _ = open::that_in_background(link);
}
}
}