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,13 +10,18 @@
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::collection::{
|
||||
AddOptions, Collection, Entry, GetFaceError, Index, PresentationMode, Special,
|
||||
use crate::{
|
||||
Atlas,
|
||||
CodepointMap,
|
||||
Glyph,
|
||||
Presentation,
|
||||
SpriteFace,
|
||||
Style,
|
||||
collection::{AddOptions, Collection, Entry, GetFaceError, Index, PresentationMode, Special},
|
||||
discovery::Discover,
|
||||
face::{RenderOptions, freetype::RenderError as FaceRenderError},
|
||||
sprite,
|
||||
};
|
||||
use crate::discovery::Discover;
|
||||
use crate::face::{RenderOptions, freetype::RenderError as FaceRenderError};
|
||||
use crate::sprite;
|
||||
use crate::{Atlas, CodepointMap, Glyph, Presentation, SpriteFace, Style};
|
||||
|
||||
/// Packed array of booleans to indicate if a style is enabled or not.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
@@ -449,9 +454,13 @@ impl CodepointResolver {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::collection::{LoadOptions, SizeAdjustment};
|
||||
use crate::face::{DesiredSize, Options};
|
||||
use crate::{Face, Library, embedded};
|
||||
use crate::{
|
||||
Face,
|
||||
Library,
|
||||
collection::{LoadOptions, SizeAdjustment},
|
||||
embedded,
|
||||
face::{DesiredSize, Options},
|
||||
};
|
||||
|
||||
fn add(c: &mut Collection, lib: &Library, data: &'static [u8], style: Style, pts: f32) {
|
||||
let size = if pts == 12.0 {
|
||||
|
||||
Reference in new issue
Block a user