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

+11 -9
View File
@@ -1,15 +1,16 @@
//! Port of `surface.zig`: messages sent from the core to a surface's apprt.
use crate::structs::Clipboard;
use ghostty_config::config::Config;
use ghostty_config::types_a::WorkingDirectory;
use ghostty_datastruct::MessageData;
use ghostty_datastruct::blocking_queue::Timeout;
use ghostty_vt::mouse_shape::MouseShape;
use ghostty_vt::osc::ProgressReport;
use ghostty_vt::osc::color::ColoredTarget;
use std::sync::Arc;
use ghostty_config::{config::Config, types_a::WorkingDirectory};
use ghostty_datastruct::{MessageData, blocking_queue::Timeout};
use ghostty_vt::{
mouse_shape::MouseShape,
osc::{ProgressReport, color::ColoredTarget},
};
use crate::structs::Clipboard;
/// Represents a write request. Magic number comes from the max size
/// we want this union to be.
pub type WriteReq = MessageData<u8, 255>;
@@ -233,9 +234,10 @@ pub fn new_config(config: &Config, context: NewSurfaceContext, prev_pwd: Option<
#[cfg(test)]
mod tests {
use super::*;
use std::cell::RefCell;
use super::*;
struct Rec(RefCell<Vec<(u32, bool)>>);
impl AppMailbox<u32> for Rec {
fn push_surface_message(&self, s: u32, m: Message, _t: Timeout) -> usize {