[commit: ghc] master: Fix typos in -Wsimplifiable-class-constraints flag docs (fa3143c)

git at git.haskell.org git at git.haskell.org
Tue Sep 4 08:11:58 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fa3143c76ac77ee96fd89559cacc089205abaa20/ghc

>---------------------------------------------------------------

commit fa3143c76ac77ee96fd89559cacc089205abaa20
Author: Sergey Vinokurov <serg.foo at gmail.com>
Date:   Tue Sep 4 00:09:45 2018 +0100

    Fix typos in -Wsimplifiable-class-constraints flag docs


>---------------------------------------------------------------

fa3143c76ac77ee96fd89559cacc089205abaa20
 docs/users_guide/using-warnings.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 2d28fdd..a715fc1 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -1203,10 +1203,10 @@ of ``-W(no-)*``.
      we warn when this special treatment of ``(*)`` takes place.
 
 .. ghc-flag:: -Wsimplifiable-class-constraints
-    :shortdesc: 2arn about class constraints in a type signature that can
+    :shortdesc: Warn about class constraints in a type signature that can
         be simplified using a top-level instance declaration.
     :type: dynamic
-    :reverse: -Wno-overlapping-patterns
+    :reverse: -Wno-simplifiable-class-constraints
     :category:
 
     :since: 8.2



More information about the ghc-commits mailing list