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
@@ -10,11 +10,15 @@
|
||||
//! then get the resulting image with [`Overlay::pending_image`] to upload to
|
||||
//! the GPU. This works in concert with [`crate::image::State`].
|
||||
|
||||
use ghostty_terminal::page::{SemanticContent, SemanticPrompt};
|
||||
use ghostty_terminal::render::RenderState;
|
||||
use ghostty_terminal::{
|
||||
page::{SemanticContent, SemanticPrompt},
|
||||
render::RenderState,
|
||||
};
|
||||
|
||||
use crate::image::{Pending, PixelFormat};
|
||||
use crate::size::{CellSize, Size};
|
||||
use crate::{
|
||||
image::{Pending, PixelFormat},
|
||||
size::{CellSize, Size},
|
||||
};
|
||||
|
||||
/// The colors we use for overlays.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
@@ -394,9 +398,10 @@ fn checked_i32(v: usize) -> Result<i32, Overflow> {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use ghostty_terminal::terminal::{Options, Terminal};
|
||||
|
||||
use super::*;
|
||||
use crate::size::{Padding, ScreenSize};
|
||||
use ghostty_terminal::terminal::{Options, Terminal};
|
||||
|
||||
fn size(w: u32, h: u32) -> Size {
|
||||
Size {
|
||||
|
||||
Reference in new issue
Block a user