[commit: ghc] master: Fix markup in the UNPACK pragma section of the user's guide. (4a16804)

git at git.haskell.org git at git.haskell.org
Tue Apr 17 15:15:00 UTC 2018


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

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

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

commit 4a168043f1b584dc201b5af48870ab6498b8a830
Author: theindigamer <theindigamer15 at gmail.com>
Date:   Sat Apr 14 19:17:04 2018 -0400

    Fix markup in the UNPACK pragma section of the user's guide.
    
    The ticket 5252 wasn't linked earlier.


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

4a168043f1b584dc201b5af48870ab6498b8a830
 docs/users_guide/glasgow_exts.rst | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index e2d2033..26b7957 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -14406,11 +14406,8 @@ See also the :ghc-flag:`-funbox-strict-fields` flag, which essentially has the
 effect of adding ``{-# UNPACK #-}`` to every strict constructor field.
 
 .. [1]
-   in fact, UNPACK has no effect without
-   -O
-   , for technical reasons (see
-   tick 5252
-   )
+   In fact, ``UNPACK`` has no effect without :ghc-flag:`-O`, for technical
+   reasons (see :ghc-ticket:`5252`).
 
 .. _nounpack-pragma:
 



More information about the ghc-commits mailing list