From fe59dbd0c4304974fdcb701f0a2fab8dc1b779e0 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 24 Nov 2024 21:31:52 +0700 Subject: [PATCH] Fix unbalanced backticks --- skrifa/src/color/mod.rs | 4 ++-- skrifa/src/outline/autohint/metrics/widths.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skrifa/src/color/mod.rs b/skrifa/src/color/mod.rs index 25bccd95a..eb8b9a439 100644 --- a/skrifa/src/color/mod.rs +++ b/skrifa/src/color/mod.rs @@ -121,7 +121,7 @@ pub struct ColorStop { // re-applying the deltas at least once, after which we would pass the scaled // stops to client side and have the client sort the collected items once // again. If we do want to pre-ort them, and still use use an -// `Iterator`` instead as the `color_stops` field, then we would +// `Iterator` instead as the `color_stops` field, then we would // need a Fontations-side allocations to sort, and an extra allocation on the // client side to `.collect()` from the provided iterator before passing it to // drawing API. @@ -129,7 +129,7 @@ pub struct ColorStop { /// A fill type of a COLRv1 glyph (solid fill or various gradient types). /// /// The client receives the information about the fill type in the -/// [`fill``](ColorPainter::fill) callback of the [`ColorPainter`] trait. +/// [`fill`](ColorPainter::fill) callback of the [`ColorPainter`] trait. #[derive(Debug, PartialEq)] pub enum Brush<'a> { /// A solid fill with the color specified by `palette_index`. The respective diff --git a/skrifa/src/outline/autohint/metrics/widths.rs b/skrifa/src/outline/autohint/metrics/widths.rs index 9f3f18c9c..d26cb21fd 100644 --- a/skrifa/src/outline/autohint/metrics/widths.rs +++ b/skrifa/src/outline/autohint/metrics/widths.rs @@ -73,7 +73,7 @@ pub(super) fn compute_widths( } } } - // FreeTypes `af_sort_and_quantize_widths()`` has the side effect + // FreeTypes `af_sort_and_quantize_widths()` has the side effect // of always updating the width count to 1 when we don't find // any... // See