From 3c6d52842e62e4715b2f08f87531289a9f9e14f3 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Thu, 15 Oct 2020 12:16:29 +0200 Subject: [PATCH] Doc comments are show in HTML documentation. This is not a proper documentation, just a note on implementation. --- src/dehtml.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dehtml.rs b/src/dehtml.rs index f80600c17..17ecef037 100644 --- a/src/dehtml.rs +++ b/src/dehtml.rs @@ -20,8 +20,8 @@ enum AddText { YesPreserveLineEnds, } -/// dehtml() returns way too many newlines; however, an optimisation on this issue is not needed as -/// the newlines are typically removed in further processing by the caller +// dehtml() returns way too many newlines; however, an optimisation on this issue is not needed as +// the newlines are typically removed in further processing by the caller pub fn dehtml(buf: &str) -> Option { let s = dehtml_quick_xml(buf); if !s.trim().is_empty() {