style(tolerance): drop an unneeded mut on the cell-run closure

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-07-15 22:55:51 +03:00
1 parent 6e2195d62f
commit e9976270f6
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ fn parse_gdt_rows(raw: &str) -> Vec<Vec<Cell>> {
/// than translated into some other character first.
fn parse_cell(s: &str) -> Cell {
let mut runs: Cell = Vec::new();
let mut push = |ch: char, font: &'static str, runs: &mut Cell| match runs.last_mut() {
let push = |ch: char, font: &'static str, runs: &mut Cell| match runs.last_mut() {
Some(r) if r.font == font => r.text.push(ch),
_ => runs.push(Run {
text: ch.to_string(),