style(lists): apply rustfmt to checkbox propagation
CI / cargo fmt --check (push) Successful in 18s
CI / cargo clippy (push) Successful in 35s
CI / cargo test (push) Successful in 43s
CI / editor keymaps (push) Successful in 1m16s

CI's cargo fmt --check flagged a few lines from the propagation patch
that exceeded the wrapping threshold. No behavioural change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 15:24:35 +00:00
parent 7a0cec4920
commit 8fa85988d8
2 changed files with 17 additions and 4 deletions
+4 -1
View File
@@ -1515,7 +1515,10 @@ pub mod ops {
}
let segment = &text[start..end];
let bytes = segment.as_bytes();
let line_end = bytes.iter().position(|&b| b == b'\n').unwrap_or(bytes.len());
let line_end = bytes
.iter()
.position(|&b| b == b'\n')
.unwrap_or(bytes.len());
let bytes = &bytes[..line_end];
let mut i = 0;
while i + 2 < bytes.len() {