summaryrefslogtreecommitdiffstats
path: root/lib/str.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-09-06 22:34:28 -0400
committerrsiddharth <s@ricketyspace.net>2020-09-06 22:34:28 -0400
commitd830e02f7b6c7fdf4deaba5ad5b6d79501219476 (patch)
tree3244c99ea03fb64129d64bc97b1981c7ebbbe36c /lib/str.go
parentf454e221b54c19398fc5113c6375cf77856ead84 (diff)
lib: AlphaScore -> AlphaPunchScore
* lib/str.go (AlphaScore): Rename to... (AlphaPunchScore): ...this.
Diffstat (limited to 'lib/str.go')
-rw-r--r--lib/str.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/str.go b/lib/str.go
index 67b6753..9112a14 100644
--- a/lib/str.go
+++ b/lib/str.go
@@ -40,7 +40,7 @@ func stripSpaceChars(s string) string {
return ss
}
-func AlphaScore(bs []byte) int {
+func AlphaPunchScore(bs []byte) int {
s := 0
for i := 0; i < len(bs); i++ {
if isAlphaPunch(bs[i]) {