diff --git a/examples/home_timeline.rs b/examples/home_timeline.rs index 621054c..fc549fa 100644 --- a/examples/home_timeline.rs +++ b/examples/home_timeline.rs @@ -16,8 +16,11 @@ async fn run() -> Result<()> { "\ttoot from {}:\n{}", status.account.display_name, html2text::parse(status.content.as_bytes()) + .expect("parse html") .render_plain(90) + .expect("render html") .into_string() + .expect("html to string") ) }) .await;