summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-31 20:49:25 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-31 20:50:07 +0100
commit095859ed57e573d91ebe36dceb888ec95427b6ca (patch)
tree3ab042b7b8771d85b2a51d04e230affc5e180e2f /examples
parentbc2d662af7fd9b527dc6b49f31627780e58d79c2 (diff)
downloadiced-095859ed57e573d91ebe36dceb888ec95427b6ca.tar.gz
iced-095859ed57e573d91ebe36dceb888ec95427b6ca.tar.bz2
iced-095859ed57e573d91ebe36dceb888ec95427b6ca.zip
Add `new` constructor for `markdown::Content`
Diffstat (limited to 'examples')
-rw-r--r--examples/markdown/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/markdown/src/main.rs b/examples/markdown/src/main.rs
index 2361b7b7..5b9a3b4a 100644
--- a/examples/markdown/src/main.rs
+++ b/examples/markdown/src/main.rs
@@ -74,7 +74,7 @@ impl Markdown {
if enable_stream {
self.mode = Mode::Stream {
pending: self.content.text(),
- parsed: markdown::Content::parse(""),
+ parsed: markdown::Content::new(),
};
scrollable::snap_to(