style: apply nightly rustfmt import grouping across the workspace

rustfmt.toml sets group_imports, imports_granularity and imports_layout,
which are nightly-only; agents formatted with stable rustfmt, which
ignored them. This is a formatting-only pass with `cargo +nightly fmt`.

Test Plan:
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace
This commit is contained in:
ddidderr committed 2026-10-12 05:03:37 +02:00
1 parent 81d4119d85
commit 8bcb85a29a
259 files changed
+2495 -1547

No files matched your search

+10 -5
View File
@@ -10,11 +10,15 @@
//! then get the resulting image with [`Overlay::pending_image`] to upload to
//! the GPU. This works in concert with [`crate::image::State`].
use ghostty_terminal::page::{SemanticContent, SemanticPrompt};
use ghostty_terminal::render::RenderState;
use ghostty_terminal::{
page::{SemanticContent, SemanticPrompt},
render::RenderState,
};
use crate::image::{Pending, PixelFormat};
use crate::size::{CellSize, Size};
use crate::{
image::{Pending, PixelFormat},
size::{CellSize, Size},
};
/// The colors we use for overlays.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@@ -394,9 +398,10 @@ fn checked_i32(v: usize) -> Result<i32, Overflow> {
#[cfg(test)]
mod tests {
use ghostty_terminal::terminal::{Options, Terminal};
use super::*;
use crate::size::{Padding, ScreenSize};
use ghostty_terminal::terminal::{Options, Terminal};
fn size(w: u32, h: u32) -> Size {
Size {