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
@@ -6,14 +6,18 @@
|
||||
//!
|
||||
//! Port of `font/face/freetype.zig`.
|
||||
|
||||
use std::ffi::CString;
|
||||
use std::sync::{Arc, Mutex, MutexGuard, PoisonError};
|
||||
use std::{
|
||||
ffi::CString,
|
||||
sync::{Arc, Mutex, MutexGuard, PoisonError},
|
||||
};
|
||||
|
||||
use super::{DesiredSize, FontData, FreetypeLoadFlags, Options, RenderOptions, Variation};
|
||||
use crate::atlas::{self, Atlas};
|
||||
use crate::glyph::Glyph;
|
||||
use crate::library::Library;
|
||||
use crate::metrics::FaceMetrics;
|
||||
use crate::{
|
||||
atlas::{self, Atlas},
|
||||
glyph::Glyph,
|
||||
library::Library,
|
||||
metrics::FaceMetrics,
|
||||
};
|
||||
|
||||
pub(crate) mod ft;
|
||||
mod resize;
|
||||
|
||||
@@ -8,8 +8,10 @@
|
||||
// c_long is i64 on Linux but not everywhere; keep the casts portable.
|
||||
#![allow(clippy::unnecessary_cast)]
|
||||
|
||||
use std::ffi::{CStr, c_int, c_long, c_uint, c_ulong, c_void};
|
||||
use std::ptr::{self, NonNull};
|
||||
use std::{
|
||||
ffi::{CStr, c_int, c_long, c_uint, c_ulong, c_void},
|
||||
ptr::{self, NonNull},
|
||||
};
|
||||
|
||||
use freetype_sys as sys;
|
||||
|
||||
|
||||
Reference in new issue
Block a user