diff options
author | rsiddharth <s@ricketyspace.net> | 2020-09-06 22:34:28 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-09-06 22:34:28 -0400 |
commit | d830e02f7b6c7fdf4deaba5ad5b6d79501219476 (patch) | |
tree | 3244c99ea03fb64129d64bc97b1981c7ebbbe36c /lib | |
parent | f454e221b54c19398fc5113c6375cf77856ead84 (diff) |
lib: AlphaScore -> AlphaPunchScore
* lib/str.go (AlphaScore): Rename to...
(AlphaPunchScore): ...this.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/str.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) { |