Skip to content

Commit 6ff1f2b

Browse files
committed
Fix clippy warnings
1 parent c1fcfdc commit 6ff1f2b

File tree

1 file changed

+1
-1
lines changed
  • src/drawing/backend_impl

1 file changed

+1
-1
lines changed

src/drawing/backend_impl/svg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ impl<'a> DrawingBackend for SVGBackend<'a> {
430430
let mut attrs = vec![
431431
("x", format!("{}", x0)),
432432
("y", format!("{}", y0)),
433-
("dy", format!("{}", dy)),
433+
("dy", dy.to_owned()),
434434
("text-anchor", text_anchor.to_string()),
435435
("font-family", font.get_name().to_string()),
436436
("font-size", format!("{}", font.get_size() / 1.24)),

0 commit comments

Comments
 (0)