From 13230db68c3cb2842f23f95fc1b47fd989e6277d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 7 Oct 2020 19:28:34 +0200 Subject: =?UTF-8?q?Fix=20some=20clippy=20warnings=20=E2=9C=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/export/pdf.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/export') diff --git a/src/export/pdf.rs b/src/export/pdf.rs index ccbc01f1..02b54471 100644 --- a/src/export/pdf.rs +++ b/src/export/pdf.rs @@ -141,6 +141,7 @@ impl<'a, W: Write> PdfExporter<'a, W> { for (pos, element) in &page.elements { match element { LayoutElement::Text(shaped) => { + // Check if we need to issue a font switching action. if shaped.face != face || shaped.size != size { face = shaped.face; size = shaped.size; -- cgit v1.2.3