From 9e6c7e48cf692babd83884e39cea337c624cf8bf Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 16 Nov 2017 00:28:13 +0100 Subject: make lint happy --- distance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distance.go b/distance.go index c6d0959..afcf54c 100644 --- a/distance.go +++ b/distance.go @@ -1,5 +1,7 @@ package lavenshtein +// Distance between two strings is the number of deletions, insertions, or +// substitutions required to transform source string into target string. func Distance(s, t string) int { a, b := []rune(s), []rune(t) u, v := vectors(len(b)) -- cgit v1.2.3