From 33928a00dc58250e24da1dae4e5db17e7b598d70 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 3 Nov 2022 16:50:26 +0100 Subject: Tidy up library --- library/src/structure/list.rs | 4 ++-- library/src/structure/reference.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'library/src/structure') diff --git a/library/src/structure/list.rs b/library/src/structure/list.rs index 2015f19b..d461ef2d 100644 --- a/library/src/structure/list.rs +++ b/library/src/structure/list.rs @@ -1,9 +1,9 @@ use unscanny::Scanner; +use crate::base::Numbering; use crate::layout::{BlockSpacing, GridNode, HNode, TrackSizing}; use crate::prelude::*; -use crate::text::{ParNode, SpaceNode}; -use crate::utility::Numbering; +use crate::text::{ParNode, SpaceNode, TextNode}; /// An unordered (bulleted) or ordered (numbered) list. #[derive(Debug, Hash)] diff --git a/library/src/structure/reference.rs b/library/src/structure/reference.rs index 632ecba5..56f8b8e3 100644 --- a/library/src/structure/reference.rs +++ b/library/src/structure/reference.rs @@ -1,4 +1,5 @@ use crate::prelude::*; +use crate::text::TextNode; /// A reference to a label. #[derive(Debug, Hash)] -- cgit v1.2.3