From 246063fb7cd21a83beae5934f95b2795fb85df51 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 14 Oct 2022 10:49:28 +0200 Subject: Refactor to use default trait in tests --- tests/math_flow.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/math_flow.rs') diff --git a/tests/math_flow.rs b/tests/math_flow.rs index b3ce669..18795ab 100644 --- a/tests/math_flow.rs +++ b/tests/math_flow.rs @@ -14,11 +14,11 @@ fn math_flow() -> Result<(), String> { constructs: Constructs { math_text: true, math_flow: true, - ..Constructs::default() + ..Default::default() }, - ..ParseOptions::default() + ..Default::default() }, - ..Options::default() + ..Default::default() }; assert_eq!( -- cgit