summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-02-10 14:10:03 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-10 14:22:09 +0000
commitc57d019c2ab1055a854cc30752561e3bbcc6bc13 (patch)
tree9b028f9949e5eea360d6d3a2f4b3056c7a502829
parentd80caca10d7c2fa1c9ee8ef6bcafac365d02ff3d (diff)
downloadhaskell-c57d019c2ab1055a854cc30752561e3bbcc6bc13.tar.gz
docs: add newline after '.. ghc-flag::'
Noticed when looked through sphinx warnings: docs/users_guide/safe_haskell.rst:4: SEVERE: Duplicate ID: "ghc-flag-Issue" Signed-off-by: Sergei Trofimovich <siarheit@google.com>
-rw-r--r--docs/users_guide/safe_haskell.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/safe_haskell.rst b/docs/users_guide/safe_haskell.rst
index c92062b0b4..3914820ebe 100644
--- a/docs/users_guide/safe_haskell.rst
+++ b/docs/users_guide/safe_haskell.rst
@@ -697,16 +697,19 @@ And one general flag:
And three warning flags:
.. ghc-flag:: -Wunsafe
+
Issue a warning if the module being compiled is regarded to be
unsafe. Should be used to check the safety type of modules when
using safe inference.
.. ghc-flag:: -Wsafe
+
Issue a warning if the module being compiled is regarded to be safe.
Should be used to check the safety type of modules when using safe
inference.
.. ghc-flag:: -Wtrustworthy-safe
+
Issue a warning if the module being compiled is marked as
-XTrustworthy but it could instead be marked as
-XSafe , a more informative bound. Can be used to detect once a Safe Haskell