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/autolink.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/autolink.rs')
-rw-r--r-- | src/construct/autolink.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/construct/autolink.rs b/src/construct/autolink.rs index b25dc32..4ecd580 100644 --- a/src/construct/autolink.rs +++ b/src/construct/autolink.rs @@ -116,15 +116,15 @@ //! [definition]: crate::construct::definition //! [label_start_link]: crate::construct::label_start_link //! [label_end]: crate::construct::label_end -//! [autolink_scheme_size_max]: crate::constant::AUTOLINK_SCHEME_SIZE_MAX -//! [autolink_domain_size_max]: crate::constant::AUTOLINK_DOMAIN_SIZE_MAX +//! [autolink_scheme_size_max]: crate::util::constant::AUTOLINK_SCHEME_SIZE_MAX +//! [autolink_domain_size_max]: crate::util::constant::AUTOLINK_DOMAIN_SIZE_MAX //! [sanitize_uri]: crate::util::sanitize_uri //! [html_a]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element -use crate::constant::{AUTOLINK_DOMAIN_SIZE_MAX, AUTOLINK_SCHEME_SIZE_MAX}; use crate::event::Name; use crate::state::{Name as StateName, State}; use crate::tokenizer::Tokenizer; +use crate::util::constant::{AUTOLINK_DOMAIN_SIZE_MAX, AUTOLINK_SCHEME_SIZE_MAX}; /// Start of autolink. /// |