summaryrefslogtreecommitdiff
path: root/src/tags.rs
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2022-08-25 16:40:44 +0300
committerMaxVerevkin <maxxverrr@gmail.com>2022-08-25 16:46:43 +0300
commit39cc147656e2f61f7467f4b67b4c76fd9207c2f6 (patch)
treef3108c44cfc24896787b6067a710d8556a85e459 /src/tags.rs
parentb154262dcbf0d1a5686921f24eb0b0c41ed95f29 (diff)
downloadi3bar-mango-39cc147656e2f61f7467f4b67b4c76fd9207c2f6.tar.gz
do not clone fonts
Diffstat (limited to 'src/tags.rs')
-rw-r--r--src/tags.rs2
1 files changed, 1 insertions, 1 deletions
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 {