Skip to content

Commit c300df3

Browse files
authored
seperated -> separated (#24)
1 parent 3f75f81 commit c300df3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

token/token.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ func WriteUpperFirstLowerRest(b *strings.Builder, caser Caser, s string) {
7979
}
8080

8181
// WriteLowerFirstUpperRest writes the first rune as upper case and the rest are
82-
// seperated by sep and written as lower case
82+
// separated by sep and written as lower case
8383
func WriteSplitLowerFirstUpperRest(b *strings.Builder, caser Caser, sep string, s string) {
8484
WriteSplitLowerFirstUpperRestRunes(b, caser, sep, []rune(s))
8585
}
8686

8787
// WriteSplitLowerFirstUpperRestRunes writes the first rune as upper case and
88-
// the rest are seperated by sep and written as lower case
88+
// the rest are separated by sep and written as lower case
8989
func WriteSplitLowerFirstUpperRestRunes(b *strings.Builder, caser Caser, sep string, s []rune) {
9090
for i, r := range s {
9191
if i == 0 && b.Len() == 0 {
@@ -103,7 +103,7 @@ func WriteSplitLowerFirstUpperRestRunes(b *strings.Builder, caser Caser, sep str
103103
}
104104
}
105105

106-
// WriteSplitLower writes all strings in elems seperated by sep and written as lower case
106+
// WriteSplitLower writes all strings in elems separated by sep and written as lower case
107107
func WriteSplitLower(b *strings.Builder, caser Caser, sep string, elems ...string) {
108108
for _, s := range elems {
109109
for _, r := range s {
@@ -115,7 +115,7 @@ func WriteSplitLower(b *strings.Builder, caser Caser, sep string, elems ...strin
115115
}
116116
}
117117

118-
// WriteSplitUpper writes all runes in elems seperated by sep and written as lower case
118+
// WriteSplitUpper writes all runes in elems separated by sep and written as lower case
119119
func WriteSplitLowerRunes(b *strings.Builder, caser Caser, sep string, s []rune) {
120120
for _, r := range s {
121121
if b.Len() > 0 && len(sep) > 0 {
@@ -125,15 +125,15 @@ func WriteSplitLowerRunes(b *strings.Builder, caser Caser, sep string, s []rune)
125125
}
126126
}
127127

128-
// WriteSplitUpper writes all strings in elems seperated by sep and written as upper case
128+
// WriteSplitUpper writes all strings in elems separated by sep and written as upper case
129129
func WriteSplitUpper(b *strings.Builder, caser Caser, sep string, elems ...string) {
130130
for _, s := range elems {
131131
WriteSplitUpperRunes(b, caser, sep, []rune(s))
132132
}
133133
}
134134

135135
// WriteSplitUpperRunes uses caser to upper case each rune and writes each to b,
136-
// seperated by sep
136+
// separated by sep
137137
func WriteSplitUpperRunes(b *strings.Builder, caser Caser, sep string, s []rune) {
138138
for i, r := range s {
139139
if b.Len() > 0 && len(sep) > 0 {

0 commit comments

Comments
 (0)