Skip to content

Commit

Permalink
expand: make Go 1.15's vet happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Jun 26, 2020
1 parent 2ba0c30 commit 9dba2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expand/braces.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func Braces(word *syntax.Word) []*syntax.Word {
next.Parts = next.Parts[i+1:]
lit := &syntax.Lit{}
if chars {
lit.Value = string(n)
lit.Value = string(rune(n))
} else {
lit.Value = strconv.Itoa(n)
}
Expand Down

0 comments on commit 9dba2d2

Please sign in to comment.