diff options
| author | Fuwn <[email protected]> | 2022-05-18 01:52:36 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-18 01:52:36 +0000 |
| commit | 11405ce0600d61f3772a7efe7fbd3de4cc2bf892 (patch) | |
| tree | 24ebda9cc59ae51b4e87fdde688fe009eaf420af /examples/html.rs | |
| parent | chore(makefile): use --all-features (diff) | |
| download | germ-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.tar.xz germ-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.zip | |
fix: global clippy lint fixes
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"); } |