Re-order imports

This commit is contained in:
Laurenz Stampfl 2025-03-11 23:13:01 +01:00
parent 385061256b
commit 03a395a69c
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,6 @@
use std::collections::{BTreeMap, HashMap, HashSet};
use std::num::NonZeroU64;
use ecow::EcoVec;
use krilla::annotation::Annotation;
use krilla::destination::{NamedDestination, XyzDestination};
@ -7,8 +10,6 @@ use krilla::page::PageLabel;
use krilla::path::PathBuilder;
use krilla::surface::Surface;
use krilla::{Configuration, Document, PageSettings, SerializeSettings, ValidationError};
use std::collections::{BTreeMap, HashMap, HashSet};
use std::num::NonZeroU64;
use typst_library::diag::{bail, error, SourceResult};
use typst_library::foundations::NativeElement;
use typst_library::introspection::Location;

View File

@ -1,6 +1,3 @@
use crate::convert::{FrameContext, GlobalContext};
use crate::paint;
use crate::util::{convert_path, AbsExt, TransformExt};
use krilla::geom::Rect;
use krilla::path::{Path, PathBuilder};
use krilla::surface::Surface;
@ -8,6 +5,10 @@ use typst_library::diag::SourceResult;
use typst_library::visualize::{Geometry, Shape};
use typst_syntax::Span;
use crate::convert::{FrameContext, GlobalContext};
use crate::paint;
use crate::util::{convert_path, AbsExt, TransformExt};
pub(crate) fn handle_shape(
fc: &mut FrameContext,
shape: &Shape,