From 6a8a0ec6ec8bb8cf346ee0dd2c45ddcfbee7fbe6 Mon Sep 17 00:00:00 2001 From: Martin Haug Date: Tue, 3 May 2022 11:40:27 +0200 Subject: Code Review: Heap is Stack. Unsafe is Good. Spaghetti Code is Style. --- tests/typeset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/typeset.rs') diff --git a/tests/typeset.rs b/tests/typeset.rs index d3f7844b..b0452163 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -66,7 +66,7 @@ fn main() { styles.set(PageNode::HEIGHT, Smart::Auto); styles.set( PageNode::MARGINS, - Sides::splat(Smart::Custom(Length::pt(10.0).into())), + Sides::splat(Some(Smart::Custom(Length::pt(10.0).into()))), ); styles.set(TextNode::SIZE, TextSize(Length::pt(10.0).into())); -- cgit v1.2.3