diff options
Diffstat (limited to 'src/library/structure/doc.rs')
| -rw-r--r-- | src/library/structure/doc.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/library/structure/doc.rs b/src/library/structure/doc.rs index d3fc0b39..80472e24 100644 --- a/src/library/structure/doc.rs +++ b/src/library/structure/doc.rs @@ -7,11 +7,7 @@ pub struct DocNode(pub StyleVec<PageNode>); impl DocNode { /// Layout the document into a sequence of frames, one per page. - pub fn layout( - &self, - ctx: &mut Context, - styles: StyleChain, - ) -> TypResult<Vec<Arc<Frame>>> { + pub fn layout(&self, ctx: &mut Context, styles: StyleChain) -> TypResult<Vec<Frame>> { let mut frames = vec![]; for (page, map) in self.0.iter() { let number = 1 + frames.len(); |
