summaryrefslogtreecommitdiff
path: root/src/layout/stack.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-08-02 16:56:14 +0200
committerLaurenz <laurmaedje@gmail.com>2020-08-02 16:56:14 +0200
commitd5ff97f42ed1e682a66ea8d51e5f9ed1be547b9c (patch)
tree2fdc3a368c4320051e3f62a460f3912fe5f44c7c /src/layout/stack.rs
parent533374db14087ac54fdc86afa5f009487ac1b850 (diff)
Move binary into separate crate and tidy dependencies 🎭
Diffstat (limited to 'src/layout/stack.rs')
-rw-r--r--src/layout/stack.rs3
1 files changed, 1 insertions, 2 deletions
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),