summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-09-15 13:12:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-09-15 13:12:21 -0400
commitbb025fc0e068552623b995976d0449f816eb30ba (patch)
treece916e767a03b8b42c0d7d0222225508d7dab8a4
parent7211483c1d9c11534d9c24c145a4ec685f7e902b (diff)
improve comment
-rw-r--r--Utility/Matcher.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Matcher.hs b/Utility/Matcher.hs
index d78e597dc..badf72acf 100644
--- a/Utility/Matcher.hs
+++ b/Utility/Matcher.hs
@@ -144,7 +144,7 @@ isEmpty MAny = True
isEmpty _ = False
{- Combines two matchers, yielding a matcher that will match anything
- - both do. -}
+ - both do. But, if one matcher contains no limits, yield the other one. -}
combineMatchers :: Matcher a -> Matcher a -> Matcher a
combineMatchers a b
| isEmpty a = b