diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-11-21 12:15:51 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-11-21 12:15:51 +0100 |
| commit | 8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5 (patch) | |
| tree | b891df1099d279b784661860d8b181b39da9dc47 /examples/markdown/src | |
| parent | docs: update changelog (diff) | |
| download | iced_selection-8378cfd0913ad1a8e39a1aa2dd25ed16de37eee5.tar.gz | |
chore: update as necessary for upstream iced changes
Diffstat (limited to 'examples/markdown/src')
| -rw-r--r-- | examples/markdown/src/main.rs | 4 |
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); } } } |
