Update README.md

Fix typo in example
This commit is contained in:
Atlas Cove 2023-01-22 16:57:17 +00:00 committed by GitHub
parent 9d7852c4f9
commit 2dbfd1bf29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ impl HtmlHandler<MyError> 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)?,