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

+24 -15
View File
@@ -8,24 +8,33 @@
//! answering pending clipboard reads) while polling for conditions.
#![allow(dead_code, clippy::unwrap_used, clippy::expect_used)]
use std::cell::{Cell, RefCell};
use std::collections::{HashMap, VecDeque};
use std::path::PathBuf;
use std::rc::Rc;
use std::sync::Arc;
use std::sync::atomic::{AtomicU64, Ordering};
use std::time::{Duration, Instant};
use ghostty_apprt::action::{Action, Target};
use ghostty_apprt::runtime_api::{
ClipboardError, CoreApp, InputEffect, RtApp, RtSurface, SurfaceId, Waker,
use std::{
cell::{Cell, RefCell},
collections::{HashMap, VecDeque},
path::PathBuf,
rc::Rc,
sync::{
Arc,
atomic::{AtomicU64, Ordering},
},
time::{Duration, Instant},
};
use ghostty_apprt::structs::{Clipboard, ClipboardRequest, ContentScale, CursorPos, SurfaceSize};
use ghostty_config::command::Command;
use ghostty_config::config::Config;
use ghostty_apprt::{
action::{Action, Target},
runtime_api::{ClipboardError, CoreApp, InputEffect, RtApp, RtSurface, SurfaceId, Waker},
structs::{Clipboard, ClipboardRequest, ContentScale, CursorPos, SurfaceSize},
};
use ghostty_config::{command::Command, config::Config};
use ghostty_core::{App, Surface};
use ghostty_input::{
Key, KeyEvent, Mods, MouseButton, MouseButtonState, ScrollMods, key::Action as KeyAction,
Key,
KeyEvent,
Mods,
MouseButton,
MouseButtonState,
ScrollMods,
key::Action as KeyAction,
};
use ghostty_renderer::headless::Headless;
+4 -2
View File
@@ -6,8 +6,10 @@ use std::fmt::Write as _;
mod common;
use common::*;
use ghostty_apprt::action::{Action, GotoSplit, SplitDirection};
use ghostty_apprt::structs::Clipboard;
use ghostty_apprt::{
action::{Action, GotoSplit, SplitDirection},
structs::Clipboard,
};
use ghostty_input::Key;
#[test]
+1 -2
View File
@@ -5,8 +5,7 @@
mod common;
use common::*;
use ghostty_apprt::action::Action;
use ghostty_apprt::structs::Clipboard;
use ghostty_apprt::{action::Action, structs::Clipboard};
use ghostty_input::{Key, MouseButton};
const L: MouseButton = MouseButton::Left;
+4 -2
View File
@@ -5,8 +5,10 @@
mod common;
use common::*;
use ghostty_apprt::action::Action;
use ghostty_apprt::structs::{Clipboard, SurfaceSize};
use ghostty_apprt::{
action::Action,
structs::{Clipboard, SurfaceSize},
};
use ghostty_input::Key;
use ghostty_vt::osc::ProgressState;