From 5e6829c2fb79c2b7f59e38f924e2b2900c52b5d5 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 19 Aug 2022 17:09:16 +0200 Subject: Refactor to move more things to `util/` --- src/construct/html_flow.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/construct/html_flow.rs') diff --git a/src/construct/html_flow.rs b/src/construct/html_flow.rs index bd41aa9..edb500e 100644 --- a/src/construct/html_flow.rs +++ b/src/construct/html_flow.rs @@ -94,20 +94,20 @@ //! [flow]: crate::construct::flow //! [html_text]: crate::construct::html_text //! [paragraph]: crate::construct::paragraph -//! [html_raw_names]: crate::constant::HTML_RAW_NAMES -//! [html_block_names]: crate::constant::HTML_BLOCK_NAMES +//! [html_raw_names]: crate::util::constant::HTML_RAW_NAMES +//! [html_block_names]: crate::util::constant::HTML_BLOCK_NAMES //! [html_parsing]: https://html.spec.whatwg.org/multipage/parsing.html#parsing -use crate::constant::{ - HTML_BLOCK_NAMES, HTML_CDATA_PREFIX, HTML_RAW_NAMES, HTML_RAW_SIZE_MAX, TAB_SIZE, -}; use crate::construct::partial_space_or_tab::{ space_or_tab_with_options, Options as SpaceOrTabOptions, }; use crate::event::Name; use crate::state::{Name as StateName, State}; use crate::tokenizer::Tokenizer; -use crate::util::slice::Slice; +use crate::util::{ + constant::{HTML_BLOCK_NAMES, HTML_CDATA_PREFIX, HTML_RAW_NAMES, HTML_RAW_SIZE_MAX, TAB_SIZE}, + slice::Slice, +}; /// Symbol for `