summaryrefslogtreecommitdiff
path: root/src/layout/model.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/model.rs')
-rw-r--r--src/layout/model.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/model.rs b/src/layout/model.rs
index 08a9ec0e..bde451e6 100644
--- a/src/layout/model.rs
+++ b/src/layout/model.rs
@@ -4,7 +4,6 @@
use std::future::Future;
use std::pin::Pin;
-use smallvec::smallvec;
use crate::{Pass, Feedback};
use crate::SharedFontLoader;
@@ -271,7 +270,7 @@ impl<'a> ModelLayouter<'a> {
// new page style and update it within the layouter.
let margins = style.margins();
self.ctx.base = style.dimensions.unpadded(margins);
- self.layouter.set_spaces(smallvec![
+ self.layouter.set_spaces(vec![
LayoutSpace {
dimensions: style.dimensions,
padding: margins,