From d027f9d866900ad80332fb43ba8d3177b25af2e8 Mon Sep 17 00:00:00 2001 From: Ayoze Torres <53948812+ayozetr@users.noreply.github.com> Date: Wed, 28 Oct 2026 01:13:04 +0000 Subject: [PATCH] Spell check docs: state the 100-character limit instead of linking a private constant (#1175) --- crates/engine/src/spell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/spell.rs b/crates/engine/src/spell.rs index ac7d243a..addb8048 100644 --- a/crates/engine/src/spell.rs +++ b/crates/engine/src/spell.rs @@ -356,7 +356,7 @@ impl Dictionary { } /// Is `word` spelt correctly? Capitalised and upper-case forms of a lower-case word pass. - /// Words longer than [`MAX_CHECK_CHARS`] are not checked (they pass). + /// Words longer than 100 characters are not checked (they pass). pub fn check(&self, word: &str) -> bool { // Compound splitting tries every split point, so checking costs O(n²) in the word's // length: a 100,000-character "word" took seconds per check under a compounding