summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-03-02 11:25:13 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-03 08:12:27 -0500
commit59e95bdf83c68993903525d06dbe245cf916e2e6 (patch)
tree485e89884c5d1b639f8c9e9f38250302ed90bbe7
parentede60537b9c6827063734312d8068a7d30b89dd5 (diff)
downloadhaskell-59e95bdf83c68993903525d06dbe245cf916e2e6.tar.gz
Fix typo in docs [skip ci]
-rw-r--r--docs/users_guide/using-warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 3c09d4c141..c0345fb958 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -1235,7 +1235,7 @@ of ``-W(no-)*``.
second pattern overlaps it. More often than not, redundant patterns
is a programmer mistake/error, so this option is enabled by default.
- If the programmer is dead set of keeping a redundant clause,
+ If the programmer is dead set on keeping a redundant clause,
for example to prevent bitrot, they can make use of a guard
scrutinising ``GHC.Exts.considerAccessible`` to prevent the
checker from flagging the parent clause as redundant: ::