Skip to content

Commit fcd2346

Browse files
authored
Update license of levenshtein method (#539)
1 parent a521b46 commit fcd2346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

levenshtein.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package kong
22

33
import "unicode/utf8"
44

5-
// https://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance#Go
6-
// License: https://creativecommons.org/licenses/by-sa/3.0/
5+
// Copied from https://github.com/daviddengcn/go-algs/blob/fe23fabd9d0670e4675326040ba7c285c7117b4c/ed/ed.go#L31
6+
// License: https://github.com/daviddengcn/go-algs/blob/fe23fabd9d0670e4675326040ba7c285c7117b4c/LICENSE
77
func levenshtein(a, b string) int {
88
f := make([]int, utf8.RuneCountInString(b)+1)
99

0 commit comments

Comments
 (0)