From 73d8609565b808ac73df5ac34e6d4f7f23c25ad6 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 11 Oct 2022 15:45:50 +0200 Subject: Refactor to use a bunch of `into` --- tests/test_utils/hast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_utils/hast.rs') diff --git a/tests/test_utils/hast.rs b/tests/test_utils/hast.rs index 48460ca..db5326c 100644 --- a/tests/test_utils/hast.rs +++ b/tests/test_utils/hast.rs @@ -68,7 +68,7 @@ impl ToString for Node { Node::MdxExpression(x) => x.value.clone(), Node::MdxjsEsm(x) => x.value.clone(), // Voids. - Node::Doctype(_) => "".to_string(), + Node::Doctype(_) => "".into(), } } } -- cgit