aboutsummaryrefslogtreecommitdiff
path: root/examples/markdown.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/markdown.rs
parentchore(makefile): use --all-features (diff)
downloadgerm-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.tar.xz
germ-11405ce0600d61f3772a7efe7fbd3de4cc2bf892.zip
fix: global clippy lint fixes
Diffstat (limited to 'examples/markdown.rs')
-rw-r--r--examples/markdown.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/markdown.rs b/examples/markdown.rs
index 249c3b9..c14cdc5 100644
--- a/examples/markdown.rs
+++ b/examples/markdown.rs
@@ -48,9 +48,9 @@ That was a link without text."#;
fn main() {
std::fs::write(
"examples/convert.md",
- germ::convert::convert_from_string(
+ germ::convert::from_string(
EXAMPLE_GEMTEXT,
- germ::convert::Target::Markdown,
+ &germ::convert::Target::Markdown,
),
)
.expect("could not write to file");