mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Reformat where clauses 🎈
This commit is contained in:
parent
19be053cc3
commit
51faad45ad
@ -168,7 +168,7 @@ pub trait FontProvider {
|
|||||||
/// This type is needed because currently you can't make a trait object with two traits, like
|
/// This type is needed because currently you can't make a trait object with two traits, like
|
||||||
/// `Box<dyn Read + Seek>`. Automatically implemented for all types that are [`Read`] and [`Seek`].
|
/// `Box<dyn Read + Seek>`. Automatically implemented for all types that are [`Read`] and [`Seek`].
|
||||||
pub trait FontData: Read + Seek {}
|
pub trait FontData: Read + Seek {}
|
||||||
impl<T> FontData for T where T: Read + Seek {}
|
impl<T: Read + Seek> FontData for T {}
|
||||||
|
|
||||||
/// Classifies a font by listing the font classes it is part of.
|
/// Classifies a font by listing the font classes it is part of.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user