summary refs log tree commit diff stats
path: root/nimsuggest
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2022-11-06 04:32:28 +0900
committerGitHub <noreply@github.com>2022-11-05 20:32:28 +0100
commitf0400eef6830d02d4e3d58f930bf95260b5e485f (patch)
treef20215962468cc9d3e8078db2c1d1c87fe2199ae /nimsuggest
parentafd4e22f76bc2234ea660a110376839d726770f7 (diff)
downloadNim-f0400eef6830d02d4e3d58f930bf95260b5e485f.tar.gz
Fix typo in nimsuggest.nim (#20767)
becase -> because
Diffstat (limited to 'nimsuggest')
-rw-r--r--nimsuggest/nimsuggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index 3b2615891..b9fff466d 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -718,7 +718,7 @@ proc recompilePartially(graph: ModuleGraph, projectFileIdx = InvalidFileIdx) =
 func deduplicateSymInfoPair[SymInfoPair](xs: seq[SymInfoPair]): seq[SymInfoPair] =
   # xs contains duplicate items and we want to filter them by range because the
   # sym may not match. This can happen when xs contains the same definition but
-  # with different signature becase suggestSym might be called multiple times
+  # with different signature because suggestSym might be called multiple times
   # for the same symbol (e. g. including/excluding the pragma)
   result = @[]
   for itm in xs.reversed: