diff --git a/src/font/mod.rs b/src/font/mod.rs index 4efc624d8..976327d93 100644 --- a/src/font/mod.rs +++ b/src/font/mod.rs @@ -168,7 +168,7 @@ pub trait FontProvider { /// This type is needed because currently you can't make a trait object with two traits, like /// `Box`. Automatically implemented for all types that are [`Read`] and [`Seek`]. pub trait FontData: Read + Seek {} -impl FontData for T where T: Read + Seek {} +impl FontData for T {} /// Classifies a font by listing the font classes it is part of. ///