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 3fd4ea6ae9
commit 126da77a37
259 files changed
+2495 -1547

No files matched your search

+15 -6
View File
@@ -16,10 +16,17 @@
#![allow(clippy::collapsible_if, clippy::if_not_else, clippy::float_cmp)]
use crate::config_types::{FontSyntheticStyle, FreetypeLoadFlags};
use crate::face::{self, DesiredSize};
use crate::metrics::{FaceMetrics, ModifierSet};
use crate::{DeferredFace, Face, Library, Metrics, Presentation, Style};
use crate::{
DeferredFace,
Face,
Library,
Metrics,
Presentation,
Style,
config_types::{FontSyntheticStyle, FreetypeLoadFlags},
face::{self, DesiredSize},
metrics::{FaceMetrics, ModifierSet},
};
/// The available faces we have. This shouldn't be modified manually.
/// Instead, use the functions available on Collection.
@@ -1016,8 +1023,10 @@ impl Index {
#[cfg(test)]
mod tests {
use super::*;
use crate::embedded;
use crate::face::{DesiredSize, Options};
use crate::{
embedded,
face::{DesiredSize, Options},
};
fn opts_96(points: f32) -> Options {
Options::new(DesiredSize {