fix: correct comment

This commit is contained in:
Jose Diaz-Gonzalez
2020-06-02 00:51:45 -04:00
committed by GitHub
parent 676027caf6
commit 2e2320ec73

View File

@@ -527,7 +527,7 @@ func RightPad(str string, length int, pad string) string {
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) {
if len(a) == 0 {
return "", a