summaryrefslogtreecommitdiff
path: root/src/font
diff options
context:
space:
mode:
authorLaurenz Mädje <laurmaedje@gmail.com>2019-07-28 21:20:27 +0200
committerLaurenz Mädje <laurmaedje@gmail.com>2019-07-28 21:42:18 +0200
commit51faad45ad54e8db0009edb3b3b589059b051cb6 (patch)
treefceffba9f2ac50cc15055ea7799b2f1ec9223cec /src/font
parent19be053cc3465229a39a65cab2460ac61e18cd8c (diff)
Reformat where clauses 🎈
Diffstat (limited to 'src/font')
-rw-r--r--src/font/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/font/mod.rs b/src/font/mod.rs
index 4efc624d..976327d9 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<dyn Read + Seek>`. Automatically implemented for all types that are [`Read`] and [`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.
///