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:
1 parent
3fd4ea6ae9
commit
126da77a37
259 files changed
+2495
-1547
No files matched your search
@@ -13,24 +13,40 @@
|
||||
|
||||
#![allow(unsafe_code)] // GL calls through glow
|
||||
|
||||
use std::cell::{Cell, RefCell};
|
||||
use std::rc::Rc;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
use ghostty_apprt::action::{self, Action, Target};
|
||||
use ghostty_apprt::runtime_api::{
|
||||
AppMessage, CellSize, ClipboardError, CoreApp, CoreError, CoreSurface, DesiredFontSize,
|
||||
InputEffect, KeyEvent, RtApp, RtSurface, SurfaceId,
|
||||
use std::{
|
||||
cell::{Cell, RefCell},
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
time::Duration,
|
||||
};
|
||||
use ghostty_apprt::structs::{
|
||||
ClipboardRequest, ColorScheme, ContentScale, CursorPos, ImePos, SurfaceSize,
|
||||
|
||||
use ghostty_apprt::{
|
||||
action::{self, Action, Target},
|
||||
runtime_api::{
|
||||
AppMessage,
|
||||
CellSize,
|
||||
ClipboardError,
|
||||
CoreApp,
|
||||
CoreError,
|
||||
CoreSurface,
|
||||
DesiredFontSize,
|
||||
InputEffect,
|
||||
KeyEvent,
|
||||
RtApp,
|
||||
RtSurface,
|
||||
SurfaceId,
|
||||
},
|
||||
structs::{ClipboardRequest, ColorScheme, ContentScale, CursorPos, ImePos, SurfaceSize},
|
||||
};
|
||||
use ghostty_apprt_gtk::app::App;
|
||||
use ghostty_config::config::Config;
|
||||
use ghostty_input::binding::set::Value as BindingValue;
|
||||
use ghostty_input::binding::{self, Action as Binding};
|
||||
use ghostty_input::{Mods, MouseButton, MouseButtonState, ScrollMods};
|
||||
use ghostty_input::{
|
||||
Mods,
|
||||
MouseButton,
|
||||
MouseButtonState,
|
||||
ScrollMods,
|
||||
binding::{self, Action as Binding, set::Value as BindingValue},
|
||||
};
|
||||
use glow::HasContext;
|
||||
|
||||
fn confirm() -> bool {
|
||||
|
||||
Reference in new issue
Block a user