From f50ad06d35af68858d06711b81f8fe82cdb454f4 Mon Sep 17 00:00:00 2001 From: Leynos Date: Thu, 31 Jul 2025 19:57:40 +0100 Subject: [PATCH 1/2] Document Token re-export --- src/wrap.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wrap.rs b/src/wrap.rs index ce97ecfd..b39ded84 100644 --- a/src/wrap.rs +++ b/src/wrap.rs @@ -8,6 +8,10 @@ use regex::{Captures, Regex}; mod tokenize; +/// Token emitted by [`tokenize`] and used by higher-level wrappers. +/// +/// This is re-exported so callers of [`textproc`] can implement custom +/// transformations without depending on internal modules. pub use tokenize::Token; static FENCE_RE: std::sync::LazyLock = From 4900028e5fbb4b924ab4786f22e3c8700f27f311 Mon Sep 17 00:00:00 2001 From: Leynos Date: Thu, 31 Jul 2025 20:08:05 +0100 Subject: [PATCH 2/2] Tighten intra-doc links and follow Rustdoc summary style Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- src/wrap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrap.rs b/src/wrap.rs index b39ded84..b26688ee 100644 --- a/src/wrap.rs +++ b/src/wrap.rs @@ -8,9 +8,9 @@ use regex::{Captures, Regex}; mod tokenize; -/// Token emitted by [`tokenize`] and used by higher-level wrappers. +/// Token emitted by [`tokenize::segment_inline`] and used by higher-level wrappers. /// -/// This is re-exported so callers of [`textproc`] can implement custom +/// Re-export this so callers of [`crate::textproc`] can implement custom /// transformations without depending on internal modules. pub use tokenize::Token;