diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-19 17:09:16 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-19 17:09:16 +0200 |
commit | 5e6829c2fb79c2b7f59e38f924e2b2900c52b5d5 (patch) | |
tree | d5725002bd5b28b91edb9e6e41ce90c9f3d5063d /src/construct/code_fenced.rs | |
parent | dc6b4ac40a715d724ee597c995eb05ab30baa6e2 (diff) | |
download | markdown-rs-5e6829c2fb79c2b7f59e38f924e2b2900c52b5d5.tar.gz markdown-rs-5e6829c2fb79c2b7f59e38f924e2b2900c52b5d5.tar.bz2 markdown-rs-5e6829c2fb79c2b7f59e38f924e2b2900c52b5d5.zip |
Refactor to move more things to `util/`
Diffstat (limited to 'src/construct/code_fenced.rs')
-rw-r--r-- | src/construct/code_fenced.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs index 748e38f..bfd15dc 100644 --- a/src/construct/code_fenced.rs +++ b/src/construct/code_fenced.rs @@ -110,12 +110,14 @@ //! [html_code]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element //! [html_pre]: https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element -use crate::constant::{CODE_FENCED_SEQUENCE_SIZE_MIN, TAB_SIZE}; use crate::construct::partial_space_or_tab::{space_or_tab, space_or_tab_min_max}; use crate::event::{Content, Link, Name}; use crate::state::{Name as StateName, State}; use crate::tokenizer::Tokenizer; -use crate::util::slice::{Position, Slice}; +use crate::util::{ + constant::{CODE_FENCED_SEQUENCE_SIZE_MIN, TAB_SIZE}, + slice::{Position, Slice}, +}; /// Start of fenced code. /// |