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/math_flow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/math_flow.rs') diff --git a/tests/math_flow.rs b/tests/math_flow.rs index 4665eef..1cf0f65 100644 --- a/tests/math_flow.rs +++ b/tests/math_flow.rs @@ -260,8 +260,8 @@ fn math_flow() -> Result<(), String> { micromark_to_mdast("$$extra\nabc\ndef\n$$", &math.parse)?, Node::Root(Root { children: vec![Node::Math(Math { - meta: Some("extra".to_string()), - value: "abc\ndef".to_string(), + meta: Some("extra".into()), + value: "abc\ndef".into(), position: Some(Position::new(1, 1, 0, 4, 3, 18)) })], position: Some(Position::new(1, 1, 0, 4, 3, 18)) -- cgit