diff options
Diffstat (limited to 'examples/html.rs')
| -rw-r--r-- | examples/html.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/html.rs b/examples/html.rs index 5e1821d..541c01e 100644 --- a/examples/html.rs +++ b/examples/html.rs @@ -48,10 +48,7 @@ That was a link without text."#; fn main() { std::fs::write( "examples/convert.html", - germ::convert::convert_from_string( - EXAMPLE_GEMTEXT, - germ::convert::Target::HTML, - ), + germ::convert::from_string(EXAMPLE_GEMTEXT, &germ::convert::Target::HTML), ) .expect("could not write to file"); } |