From cabe2034655720bb3c12b56c79ed0c01af547d93 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Wed, 30 Jul 2025 09:40:25 +0100 Subject: [PATCH] Improve doc comment --- src/parse/syntax.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse/syntax.rs b/src/parse/syntax.rs index aeefb2866..351e684a4 100644 --- a/src/parse/syntax.rs +++ b/src/parse/syntax.rs @@ -689,8 +689,8 @@ pub(crate) struct MatchedPos { pub(crate) pos: SingleLineSpan, } -/// Given the text `content` from a comment or strings, split it into -/// MatchedPos values for the novel and unchanged words. +/// Given the text `content` from a comment or string, split it into +/// `MatchedPos` values for the novel and unchanged words. /// /// If there is negligible text in common with `opposite_content`, /// treat the whole `content` as a single novel region.