summaryrefslogtreecommitdiff
path: root/src/layout/stack.rs
diff options
context:
space:
mode:
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),