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

+4 -2
View File
@@ -3,8 +3,10 @@
#![allow(clippy::needless_raw_string_hashes)]
use std::fmt;
use std::hash::{Hash, Hasher};
use std::{
fmt,
hash::{Hash, Hasher},
};
use super::Error;
+27 -8
View File
@@ -4,19 +4,38 @@
pub mod action;
pub mod set;
use std::collections::hash_map::DefaultHasher;
use std::fmt;
use std::hash::{Hash, Hasher};
use std::{
collections::hash_map::DefaultHasher,
fmt,
hash::{Hash, Hasher},
};
pub use action::{
Action, ActionKey, AdjustSelection, CloseTabMode, CopyToClipboard, CrashThread, CursorKey,
GotoWindow, InspectorMode, NavigateSearch, Scope, SplitDirection, SplitFocusDirection,
SplitResizeDirection, SplitResizeParameter, WriteScreen, WriteScreenAction, WriteScreenFormat,
Action,
ActionKey,
AdjustSelection,
CloseTabMode,
CopyToClipboard,
CrashThread,
CursorKey,
GotoWindow,
InspectorMode,
NavigateSearch,
Scope,
SplitDirection,
SplitFocusDirection,
SplitResizeDirection,
SplitResizeParameter,
WriteScreen,
WriteScreenAction,
WriteScreenFormat,
};
pub use set::Set;
use crate::key;
use crate::key_mods::{self, Mods};
use crate::{
key,
key_mods::{self, Mods},
};
#[derive(Debug, Clone, Copy, PartialEq, Eq, thiserror::Error)]
pub enum Error {
+8 -4
View File
@@ -1,9 +1,13 @@
#![allow(clippy::unwrap_used)]
use super::set::{AppendChainError, EntryFormatter, Value};
use super::*;
use crate::key::{Key, KeyEvent};
use crate::key_mods::Mods;
use super::{
set::{AppendChainError, EntryFormatter, Value},
*,
};
use crate::{
key::{Key, KeyEvent},
key_mods::Mods,
};
fn uni(c: char) -> Trigger {
Trigger {