From ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 13 Oct 2022 10:40:01 +0200 Subject: Rename crate to `markdown` --- src/util/character_reference.rs | 6 +++--- src/util/encode.rs | 2 +- src/util/gfm_tagfilter.rs | 2 +- src/util/normalize_identifier.rs | 2 +- src/util/sanitize_uri.rs | 6 +++--- src/util/slice.rs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/util') diff --git a/src/util/character_reference.rs b/src/util/character_reference.rs index 330293c..f28c135 100644 --- a/src/util/character_reference.rs +++ b/src/util/character_reference.rs @@ -25,7 +25,7 @@ use core::str; /// ## Examples /// /// ```rust ignore -/// use micromark::util::decode_character_reference::decode_named; +/// use markdown::util::decode_character_reference::decode_named; /// /// assert_eq!(decode_named("amp", true), "&"); /// assert_eq!(decode_named("AElig", true), "Æ"); @@ -60,7 +60,7 @@ pub fn decode_named(value: &str, html5: bool) -> Option { /// ## Examples /// /// ```rust ignore -/// use micromark::util::decode_character_reference::decode_numeric; +/// use markdown::util::decode_character_reference::decode_numeric; /// /// assert_eq!(decode_numeric("123", 10), "{"); /// assert_eq!(decode_numeric("9", 16), "\t"); @@ -73,7 +73,7 @@ pub fn decode_named(value: &str, html5: bool) -> Option { /// is given. /// It is expected that figuring out whether a number is allowed is handled in /// the parser. -/// When `micromark` is used, this function never panics. +/// When `markdown-rs` is used, this function never panics. /// /// ## References /// diff --git a/src/util/encode.rs b/src/util/encode.rs index 98b3bcb..a26d954 100644 --- a/src/util/encode.rs +++ b/src/util/encode.rs @@ -15,7 +15,7 @@ use alloc::string::String; /// ## Examples /// /// ```rust ignore -/// use micromark::util::encode; +/// use markdown::util::encode; /// /// assert_eq!(encode("I <3 🦀"), "I <3 🦀"); /// ``` diff --git a/src/util/gfm_tagfilter.rs b/src/util/gfm_tagfilter.rs index 8023c66..7ac55f4 100644 --- a/src/util/gfm_tagfilter.rs +++ b/src/util/gfm_tagfilter.rs @@ -13,7 +13,7 @@ use core::str; /// ## Examples /// /// ```rust ignore -/// use micromark::util::gfm_tagfilter::gfm_tagfilter; +/// use markdown::util::gfm_tagfilter::gfm_tagfilter; /// /// assert_eq!(gfm_tagfilter("