aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/slice.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 10:40:01 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 10:40:01 +0200
commitec2d1bfb4232178fb3a6cba36f138bc6efbbf34a (patch)
tree2da4be3be22c2324c48cb17133b3f4b26b9139d2 /src/util/slice.rs
parent861af95c119721e814460fa7dc32bd3d74b38484 (diff)
downloadmarkdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.tar.gz
markdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.tar.bz2
markdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.zip
Rename crate to `markdown`
Diffstat (limited to 'src/util/slice.rs')
-rw-r--r--src/util/slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/slice.rs b/src/util/slice.rs
index 0734d78..13a22dd 100644
--- a/src/util/slice.rs
+++ b/src/util/slice.rs
@@ -23,7 +23,7 @@ impl<'a> Position<'a> {
/// ## Panics
///
/// This function panics if an enter event is given.
- /// When `micromark` is used, this function never panics.
+ /// When `markdown-rs` is used, this function never panics.
pub fn from_exit_event(events: &'a [Event], index: usize) -> Position<'a> {
let exit = &events[index];
debug_assert_eq!(