From cc30a537284871d668911353bd121e38d0353eb0 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 16 May 2023 21:59:46 +0200 Subject: refactor: reorganize structs --- src/itemized_list.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/itemized_list.rs') diff --git a/src/itemized_list.rs b/src/itemized_list.rs index efe43b5..36a2252 100644 --- a/src/itemized_list.rs +++ b/src/itemized_list.rs @@ -1,5 +1,9 @@ //! Itemized list. -use crate::description::{Paragraph, ParagraphError, ParagraphPartError}; +use crate::paragraph::{ + Error as ParagraphError, + Paragraph, + PartError as ParagraphPartError, +}; use crate::xml::element::{Element, FromElements}; /// Itemized list. @@ -128,7 +132,7 @@ pub enum ItemError mod tests { use super::*; - use crate::description::ParagraphPart; + use crate::paragraph::Part as ParagraphPart; use crate::xml::element::{Element, Elements, Tagged}; #[test] -- cgit v1.2.3-18-g5258