aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils/hast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_utils/hast.rs')
-rw-r--r--tests/test_utils/hast.rs2
1 files changed, 1 insertions, 1 deletions
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(),
}
}
}