Skip to content

Commit 6f28b8e

Browse files
committed
Fix spelling.
1 parent e1ea22c commit 6f28b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stack.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (cs CallStack) MarshalText() ([]byte, error) {
191191
return buf.Bytes(), nil
192192
}
193193

194-
// Format implements fmt.Formatter by printing the CallStack as square brackes
194+
// Format implements fmt.Formatter by printing the CallStack as square brackets
195195
// ([, ]) surrounding a space separated list of Calls each formatted with the
196196
// supplied verb and options.
197197
func (cs CallStack) Format(s fmt.State, verb rune) {
@@ -307,7 +307,7 @@ func pkgIndex(file, funcName string) int {
307307
break
308308
}
309309
}
310-
// get back to 0 or trim the leading seperator
310+
// get back to 0 or trim the leading separator
311311
return i + len(sep)
312312
}
313313

0 commit comments

Comments
 (0)