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/mdx_jsx_flow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mdx_jsx_flow.rs') diff --git a/tests/mdx_jsx_flow.rs b/tests/mdx_jsx_flow.rs index 46d2559..5216c82 100644 --- a/tests/mdx_jsx_flow.rs +++ b/tests/mdx_jsx_flow.rs @@ -167,7 +167,7 @@ fn mdx_jsx_flow_essence() -> Result<(), String> { spread: false, children: vec![Node::Paragraph(Paragraph { children: vec![Node::Text(Text { - value: "a".to_string(), + value: "a".into(), position: Some(Position::new(2, 5, 7, 2, 6, 8)) }),], position: Some(Position::new(2, 5, 7, 2, 6, 8)) -- cgit