From 39cc147656e2f61f7467f4b67b4c76fd9207c2f6 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Thu, 25 Aug 2022 16:40:44 +0300 Subject: do not clone fonts --- src/tags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tags.rs') diff --git a/src/tags.rs b/src/tags.rs index 5a4a1b2..d22853d 100644 --- a/src/tags.rs +++ b/src/tags.rs @@ -32,7 +32,7 @@ impl TagsInfo { } } -pub fn compute_tag_label(label: &str, font: FontDescription, context: &Context) -> ComputedText { +pub fn compute_tag_label(label: &str, font: &FontDescription, context: &Context) -> ComputedText { ComputedText::new( label, Attributes { -- cgit v1.3.1