proof: rustfmt the indic module

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ruchirguitarandClaude Opus 5.5 committed 2026-11-27 20:36:25 +05:30
1 parent d14a23d33b
commit 4ecc5e3ed0
1 file changed
+1 -3
+1 -3
View File
@@ -129,9 +129,7 @@ pub fn points(script: Script, word: &[char]) -> Vec<usize> {
}
}
};
(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)]