From 2dbfd1bf29df00db2b12fea117e215ee3c96b83a Mon Sep 17 00:00:00 2001 From: Atlas Cove Date: Sun, 22 Jan 2023 16:57:17 +0000 Subject: [PATCH] Update README.md Fix typo in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8074a44..7244f5d 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ impl HtmlHandler for MyHtmlHandler { fn main() -> Result<(), MyError> { let mut writer = Vec::new(); let mut handler = MyHtmlHandler::default(); - Org::parse("* title\n*section*").wirte_html_custom(&mut writer, &mut handler)?; + Org::parse("* title\n*section*").write_html_custom(&mut writer, &mut handler)?; assert_eq!( String::from_utf8(writer)?,