diff options
author | Aylur <[email protected]> | 2024-10-15 18:58:12 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-10-15 19:24:01 +0000 |
commit | 0cb8733f31defcf2f7158d23c058fbb92a580215 (patch) | |
tree | c969a2d4f637e396137734f803f59ba46e18b620 /lib/apps/fuzzy.vala | |
parent | dcc38701e9aa544f5f585c2bb2cc82d7fecca675 (diff) |
docs: apps doc comments
docs: apps doc comments
Diffstat (limited to 'lib/apps/fuzzy.vala')
-rw-r--r-- | lib/apps/fuzzy.vala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/apps/fuzzy.vala b/lib/apps/fuzzy.vala index f93b2eb..97277bd 100644 --- a/lib/apps/fuzzy.vala +++ b/lib/apps/fuzzy.vala @@ -1,11 +1,9 @@ - namespace AstalApps { - private int max(int a, int b) { return a > b ? a : b; } -public int fuzzy_match_string(string pattern, string str) { +private int fuzzy_match_string(string pattern, string str) { const int unmatched_letter_penalty = -1; int score = 100; |