From d5ff97f42ed1e682a66ea8d51e5f9ed1be547b9c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 2 Aug 2020 16:56:14 +0200 Subject: =?UTF-8?q?Move=20binary=20into=20separate=20crate=20and=20tidy=20?= =?UTF-8?q?dependencies=20=F0=9F=8E=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/stack.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/layout/stack.rs') diff --git a/src/layout/stack.rs b/src/layout/stack.rs index e684a6ab..48c7b40a 100644 --- a/src/layout/stack.rs +++ b/src/layout/stack.rs @@ -21,7 +21,6 @@ //! The position of the first aligned box thus depends on the length of the //! sentence in the second box. -use smallvec::smallvec; use crate::geom::Value4; use super::*; @@ -248,7 +247,7 @@ impl StackLayouter { pub fn remaining(&self) -> LayoutSpaces { let dimensions = self.usable(); - let mut spaces = smallvec![LayoutSpace { + let mut spaces = vec![LayoutSpace { dimensions, padding: Margins::ZERO, expansion: LayoutExpansion::new(false, false), -- cgit v1.2.3