From 34ea2841df53a1aafafb01c887965469344552ba Mon Sep 17 00:00:00 2001 From: Hocdoc Date: Thu, 10 Nov 2022 10:06:43 +0100 Subject: Refactor code-style for Rust 1.65 Closes GH-29. Reviewed-by: Titus Wormer Co-authored-by: Bernhard Berger --- src/mdast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mdast.rs') diff --git a/src/mdast.rs b/src/mdast.rs index f0ca902..7f3ac75 100644 --- a/src/mdast.rs +++ b/src/mdast.rs @@ -250,7 +250,7 @@ impl ToString for Node { | Node::Image(_) | Node::ImageReference(_) | Node::ThematicBreak(_) - | Node::Definition(_) => "".into(), + | Node::Definition(_) => String::new(), } } } -- cgit