diff options
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r-- | font/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs index 7b8d92e7..292e2244 100644 --- a/font/src/lib.rs +++ b/font/src/lib.rs @@ -229,8 +229,8 @@ pub trait Rasterize { fn new(dpi_x: f32, dpi_y: f32, device_pixel_ratio: f32, use_thin_strokes: bool) -> Result<Self, Self::Err> where Self: Sized; - /// Get `Metrics` for the given `FontKey` and `Size` - fn metrics(&self, FontKey, Size) -> Result<Metrics, Self::Err>; + /// Get `Metrics` for the given `FontKey` + fn metrics(&self, FontKey) -> Result<Metrics, Self::Err>; /// Load the font described by `FontDesc` and `Size` fn load_font(&mut self, &FontDesc, Size) -> Result<FontKey, Self::Err>; |