Skip to content

Commit

Permalink
nit: use builder.WriteByte
Browse files Browse the repository at this point in the history
  • Loading branch information
JRaspass committed Sep 22, 2024
1 parent f36e3ce commit 04d78c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hole/card-number-validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func cardNumberValidation() []Run {

if c.valid {
if answer.Len() > 0 {
answer.WriteString("\n")
answer.WriteByte('\n')
}
answer.WriteString(c.arg)
}
Expand Down

0 comments on commit 04d78c6

Please sign in to comment.