mirror of
https://github.com/typst/typst
synced 2025-07-27 14:27:56 +08:00
Fix some compiler warnings
This commit is contained in:
parent
5ef332caa4
commit
a2df88db16
@ -14,12 +14,12 @@ use std::ffi::OsStr;
|
||||
use std::fmt::{self, Debug, Formatter};
|
||||
use std::sync::Arc;
|
||||
|
||||
use ecow::{eco_format, EcoString};
|
||||
use ecow::EcoString;
|
||||
use typst_library::{Feature, World};
|
||||
use typst_syntax::{Span, Spanned};
|
||||
use typst_utils::LazyHash;
|
||||
|
||||
use crate::diag::{bail, error, warning, At, LoadedWithin, SourceResult, StrResult};
|
||||
use crate::diag::{bail, warning, At, LoadedWithin, SourceResult, StrResult};
|
||||
use crate::engine::Engine;
|
||||
use crate::foundations::{
|
||||
cast, elem, func, scope, Bytes, Cast, Content, Derived, NativeElement, Packed, Smart,
|
||||
|
@ -1,4 +1,4 @@
|
||||
use crate::diag::{LoadError, LoadResult, SourceResult};
|
||||
use crate::diag::LoadResult;
|
||||
use crate::foundations::Bytes;
|
||||
use crate::text::{FontStretch, FontStyle, FontVariant, FontWeight};
|
||||
use crate::World;
|
||||
|
@ -6,7 +6,6 @@ use tiny_skia as sk;
|
||||
use tiny_skia::IntSize;
|
||||
use typst_library::foundations::Smart;
|
||||
use typst_library::layout::Size;
|
||||
use typst_library::text::{FontBook, FontStretch, FontStyle, FontVariant, FontWeight};
|
||||
use typst_library::visualize::{Image, ImageKind, ImageScaling, PdfImage};
|
||||
|
||||
use crate::{AbsExt, State};
|
||||
|
Loading…
x
Reference in New Issue
Block a user