From 4ecc5e3ed0cd91a2cd038af373a307bed2259893 Mon Sep 17 00:00:00 2001 From: ruchirguitar Date: Fri, 27 Nov 2026 20:36:25 +0530 Subject: [PATCH] proof: rustfmt the indic module Co-Authored-By: Claude Opus 5.5 --- crates/proof/src/indic.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/proof/src/indic.rs b/crates/proof/src/indic.rs index d333d6ec53..cb6d845ef8 100644 --- a/crates/proof/src/indic.rs +++ b/crates/proof/src/indic.rs @@ -129,9 +129,7 @@ pub fn points(script: Script, word: &[char]) -> Vec { } } }; - (1..word.len()) - .filter(|&i| matches!(at(i), Some(Kind::Vowel | Kind::Consonant)) && at(i - 1) != Some(Kind::Virama) && live(i)) - .collect() + (1..word.len()).filter(|&i| matches!(at(i), Some(Kind::Vowel | Kind::Consonant)) && at(i - 1) != Some(Kind::Virama) && live(i)).collect() } #[cfg(test)]