summaryrefslogtreecommitdiff
path: root/library/src/structure
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-03 16:50:26 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-03 16:50:26 +0100
commit33928a00dc58250e24da1dae4e5db17e7b598d70 (patch)
tree451083aa64f57b442359875b0415541463cb1a0c /library/src/structure
parent46921a8c283718402322d4d09c0bd1d9194278b1 (diff)
Tidy up library
Diffstat (limited to 'library/src/structure')
-rw-r--r--library/src/structure/list.rs4
-rw-r--r--library/src/structure/reference.rs1
2 files changed, 3 insertions, 2 deletions
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)]