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

+14 -6
View File
@@ -15,16 +15,24 @@
//!
//! See `docs/rewrite/notes/ghostty-apprt-gtk.md` for the full spec.
use std::rc::Rc;
use std::sync::Arc;
use std::{rc::Rc, sync::Arc};
use crate::action::{Action, Target};
use crate::structs::{
Clipboard, ClipboardRequest, ColorScheme, ContentScale, CursorPos, ImePos, SurfaceSize,
};
use ghostty_config::config::Config;
use ghostty_input::{Mods, MouseButton, MouseButtonState, ScrollMods};
use crate::{
action::{Action, Target},
structs::{
Clipboard,
ClipboardRequest,
ColorScheme,
ContentScale,
CursorPos,
ImePos,
SurfaceSize,
},
};
/// Identifier for a core surface (Zig: `*CoreSurface` pointer). Allocated by
/// this crate for each GTK surface; core stores it in its `Target::Surface`.
pub type SurfaceId = u64;