diff --git a/crates/pi-natives/src/keys.rs b/crates/pi-natives/src/keys.rs index 3f97fb245..fdc3a8382 100644 --- a/crates/pi-natives/src/keys.rs +++ b/crates/pi-natives/src/keys.rs @@ -635,7 +635,8 @@ fn matches_key_inner(bytes: &[u8], key_id: &str, kitty_protocol_active: bool) -> if let Some(base) = parsed_base && base == codepoint { - let is_ascii_letter = u8::try_from(parsed_codepoint).is_ok_and(|b| b.is_ascii_alphabetic()); + let is_ascii_letter = + u8::try_from(parsed_codepoint).is_ok_and(|b| b.is_ascii_alphabetic()); let is_known_symbol = is_symbol_key(parsed_codepoint); if !is_ascii_letter && !is_known_symbol { return true; diff --git a/crates/pi-natives/src/snapcompact.rs b/crates/pi-natives/src/snapcompact.rs index 800281e1a..d05d47583 100644 --- a/crates/pi-natives/src/snapcompact.rs +++ b/crates/pi-natives/src/snapcompact.rs @@ -410,7 +410,10 @@ fn fill_repeat_bands_rgb(pixels: &mut [u8], width: usize, height: usize, grid: & for copy in 1..grid.repeat { let band_top = (row * grid.repeat + copy) * grid.cell_h; for y in band_top..(band_top + grid.cell_h).min(height) { - for px in pixels[y * width * 3..(y + 1) * width * 3].as_chunks_mut::<3>().0 { + for px in pixels[y * width * 3..(y + 1) * width * 3] + .as_chunks_mut::<3>() + .0 + { px.copy_from_slice(&band); } } diff --git a/crates/pi-shell/src/shell.rs b/crates/pi-shell/src/shell.rs index be52d0c93..85fb9fe22 100644 --- a/crates/pi-shell/src/shell.rs +++ b/crates/pi-shell/src/shell.rs @@ -3935,8 +3935,8 @@ replace = [{ pattern = "^.+$", replacement = "PWD" }] /// A segment that carries a file redirect is still segmented, and the brush /// `Display` reconstruction the runner executes must round-trip through - /// brush's own parser **without losing the redirect**. `echo hidden >/dev/null` - /// suppresses its own stdout: if the reconstruction dropped the + /// brush's own parser **without losing the redirect**. `echo hidden + /// >/dev/null` suppresses its own stdout: if the reconstruction dropped the /// redirect, `hidden` would leak into the captured output. Proves the /// reconstruction path is semantically sound for the redirect-bearing /// shapes the per-stage whitelist accepts (not just syntactically