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
81d4119d85
commit
8bcb85a29a
259 files changed
+2495
-1547
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user