fix: correct comment

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2020-06-02 00:51:45 -04:00
1 parent 676027caf6
commit 2e2320ec73
1 file changed
+1 -1
+1 -1
View File
@@ -527,7 +527,7 @@ func RightPad(str string, length int, pad string) string {
return str + times(pad, length-len(str)) return str + times(pad, length-len(str))
} }
// Shift removes the first and returns that entry as well as the rest of the list // ShiftString removes the first and returns that entry as well as the rest of the list
func ShiftString(a []string) (string, []string) { func ShiftString(a []string) (string, []string) {
if len(a) == 0 { if len(a) == 0 {
return "", a return "", a