aboutsummaryrefslogtreecommitdiff
path: root/examples/html.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-18 01:52:36 +0000
committerFuwn <[email protected]>2022-05-18 01:52:36 +0000
commit11405ce0600d61f3772a7efe7fbd3de4cc2bf892 (patch)
tree24ebda9cc59ae51b4e87fdde688fe009eaf420af /examples/html.rs
parentchore(makefile): use --all-features (diff)
downloadgerm-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.tar.xz
germ-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.zip
fix: global clippy lint fixes
Diffstat (limited to 'examples/html.rs')
-rw-r--r--examples/html.rs5
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");
}