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 3fd4ea6ae9
commit 126da77a37
259 files changed
+2495 -1547

No files matched your search

+7 -8
View File
@@ -5,17 +5,16 @@
//! comments.
#![allow(unsafe_code)]
use std::ffi::{c_int, c_long, c_uchar, c_uint, c_ulong, c_void};
use std::rc::Rc;
use std::{
ffi::{c_int, c_long, c_uchar, c_uint, c_ulong, c_void},
rc::Rc,
};
use gdk4_x11::x11::xlib;
use gdk4_x11::{X11Display, X11Surface};
use gtk::gdk;
use gtk::glib;
use gtk::prelude::*;
use gdk4_x11::{X11Display, X11Surface, x11::xlib};
use ghostty_input::Mods;
use gtk::{gdk, glib, prelude::*};
use super::{Error, Result, WindowHost};
use ghostty_input::Mods;
// XKB bits we need that the `x11` crate doesn't expose (XKBlib.h / XKB.h).
const XKB_MAJOR_VERSION: c_int = 1;