From e781e0cd225e929c1158812fa94cceeb6c7f1283 Mon Sep 17 00:00:00 2001 From: guangwu Date: Mon, 10 Jul 2023 23:53:10 +0800 Subject: [PATCH] chore: unnecessary use of fmt.Sprintf (#211) --- vector_renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector_renderer.go b/vector_renderer.go index eb2fc83..8865c61 100644 --- a/vector_renderer.go +++ b/vector_renderer.go @@ -140,7 +140,7 @@ func (vr *vectorRenderer) ArcTo(cx, cy int, rx, ry, startAngle, delta float64) { // Close closes a shape. func (vr *vectorRenderer) Close() { - vr.p = append(vr.p, fmt.Sprintf("Z")) + vr.p = append(vr.p, "Z") } // Stroke draws the path with no fill.