Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Commit e781e0c

Browse filesBrowse files
authored
chore: unnecessary use of fmt.Sprintf (#211)
1 parent 54fc699 commit e781e0c
Copy full SHA for e781e0c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎vector_renderer.go‎

Copy file name to clipboardExpand all lines: vector_renderer.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func (vr *vectorRenderer) ArcTo(cx, cy int, rx, ry, startAngle, delta float64) {
140140

141141
// Close closes a shape.
142142
func (vr *vectorRenderer) Close() {
143-
vr.p = append(vr.p, fmt.Sprintf("Z"))
143+
vr.p = append(vr.p, "Z")
144144
}
145145

146146
// Stroke draws the path with no fill.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.