[commit: ghc] master: Fix typo in comment (b1923ed)
git at git.haskell.org
git at git.haskell.org
Tue Jan 10 19:22:28 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b1923ed55d64876d94206d40403ed833abb5533c/ghc
>---------------------------------------------------------------
commit b1923ed55d64876d94206d40403ed833abb5533c
Author: Steffen Forkmann <steffen.forkmann at msu-solutions.de>
Date: Sat Jan 7 10:39:09 2017 +0100
Fix typo in comment
>---------------------------------------------------------------
b1923ed55d64876d94206d40403ed833abb5533c
compiler/utils/Util.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/utils/Util.hs b/compiler/utils/Util.hs
index 88b5090..d5c6e2a 100644
--- a/compiler/utils/Util.hs
+++ b/compiler/utils/Util.hs
@@ -905,7 +905,7 @@ fuzzyLookup user_entered possibilites
where
-- Work out an approriate match threshold:
-- We report a candidate if its edit distance is <= the threshold,
- -- The threshhold is set to about a quarter of the # of characters the user entered
+ -- The threshold is set to about a quarter of the # of characters the user entered
-- Length Threshold
-- 1 0 -- Don't suggest *any* candidates
-- 2 1 -- for single-char identifiers
More information about the ghc-commits
mailing list