summaryrefslogtreecommitdiff
path: root/src/export/render.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-20 13:05:55 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-20 16:37:15 +0200
commit757a701c1aa2a6fb80033c7e75666661818da6f9 (patch)
tree0415fec94d3856f4ebc97a1744cf2ba75fe8e7aa /src/export/render.rs
parente29f55bb294cc298daad97accf6d8a76976b409c (diff)
A New World
Diffstat (limited to 'src/export/render.rs')
-rw-r--r--src/export/render.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/render.rs b/src/export/render.rs
index bf735ded..3fb57ad6 100644
--- a/src/export/render.rs
+++ b/src/export/render.rs
@@ -147,8 +147,8 @@ fn render_svg_glyph(
}
// Parse XML.
- let src = std::str::from_utf8(data).ok()?;
- let document = roxmltree::Document::parse(src).ok()?;
+ let xml = std::str::from_utf8(data).ok()?;
+ let document = roxmltree::Document::parse(xml).ok()?;
let root = document.root_element();
// Parse SVG.