summary refs log tree commit diff stats
path: root/tools/dochack/fuzzysearch.nim
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2019-09-27 06:02:54 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-09-27 07:02:54 +0200
commit39290cf88c5047e86dc4894e3190c63d5985f56f (patch)
treef37c9e0a5491fb9b11266ce08bddc297b57f37fc /tools/dochack/fuzzysearch.nim
parent9dd297f613768bb170e05dcaf361015d9448c582 (diff)
downloadNim-39290cf88c5047e86dc4894e3190c63d5985f56f.tar.gz
Fix spellings (#12277) [backport]
Diffstat (limited to 'tools/dochack/fuzzysearch.nim')
-rw-r--r--tools/dochack/fuzzysearch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dochack/fuzzysearch.nim b/tools/dochack/fuzzysearch.nim
index 40575b998..1e5c8f0ef 100644
--- a/tools/dochack/fuzzysearch.nim
+++ b/tools/dochack/fuzzysearch.nim
@@ -24,9 +24,9 @@ type
     CharDiff             = -1   ## An unmatched character was found.
     CharMatch            = 0    ## A matched character was found.
     ConsecutiveMatch     = 5    ## A consecutive match was found.
-    LeadingCharMatch     = 10   ## The character matches the begining of the
+    LeadingCharMatch     = 10   ## The character matches the beginning of the
                                 ## string or the first character of a word
-                                ## or camel case boundry.
+                                ## or camel case boundary.
     WordBoundryMatch     = 20   ## The last ConsecutiveCharMatch that
                                 ## immediately precedes the end of the string,
                                 ## end of the pattern, or a LeadingCharMatch.