Skip to content

Commit a2ea537

Browse files
authored
common: rename unused function with typo (#23025)
This function is not used in the code base, so probably safe to do rename, or remove in its entirety, but I'm assuming the logic from the original creator still applies so rename probably better.
1 parent 1fc0eba commit a2ea537

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/debug.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ func Report(extra ...interface{}) {
3737
fmt.Fprintln(os.Stderr, "#### BUG! PLEASE REPORT ####")
3838
}
3939

40-
// PrintDepricationWarning prinst the given string in a box using fmt.Println.
41-
func PrintDepricationWarning(str string) {
40+
// PrintDeprecationWarning prints the given string in a box using fmt.Println.
41+
func PrintDeprecationWarning(str string) {
4242
line := strings.Repeat("#", len(str)+4)
4343
emptyLine := strings.Repeat(" ", len(str))
4444
fmt.Printf(`

0 commit comments

Comments
 (0)