From 6921db0f835557ed77a3dddd766e831dacb0ee2d Mon Sep 17 00:00:00 2001 From: Hamza Date: Tue, 17 Nov 2026 13:54:46 +0500 Subject: [PATCH] Spelling: wrap affixed_compound_part's doc comment --- crates/engine/src/spell.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/engine/src/spell.rs b/crates/engine/src/spell.rs index 21e2f3e69..61c5117ae 100644 --- a/crates/engine/src/spell.rs +++ b/crates/engine/src/spell.rs @@ -320,10 +320,10 @@ impl Dictionary { /// A compound part made of a root and one affix, as Hunspell reads them: a suffix ends the last /// part and a prefix starts the first; anywhere else the affix needs `COMPOUNDPERMITFLAG`. - /// An affix that carries `NEEDAFFIX` needs a second one and doesn't count. One whose continuation flags carry `COMPOUNDEND` may only be on the last part. The compound `flag` - /// may be on the root or among the affix's continuation flags. German frami - /// gives many first parts their flag that way: `Vor/hij` with `SFX j 0 0/xoc` begins - /// `Vorschlag` (#2145). + /// An affix that carries `NEEDAFFIX` needs a second one and doesn't count. One whose + /// continuation flags carry `COMPOUNDEND` may only be on the last part. The compound `flag` + /// may be on the root or among the affix's continuation flags. German frami gives many first + /// parts their flag that way: `Vor/hij` with `SFX j 0 0/xoc` begins `Vorschlag` (#2145). fn affixed_compound_part(&self, w: &[char], flag: Flag, pos: Pos) -> bool { let permit = |a: &Affix| self.compound_permit.is_some_and(|p| a.cont.contains(&p)); // An affix that itself needs another (`NEEDAFFIX` among its continuation flags) doesn't