[Git][ghc/ghc][master] docs: correct haddock reference

Marge Bot gitlab at gitlab.haskell.org
Thu Sep 17 05:26:53 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
6baa67f5 by Adam Sandberg Eriksson at 2020-09-16T07:45:47-04:00
docs: correct haddock reference

[skip ci]
- - - - -


1 changed file:

- docs/users_guide/exts/assert.rst


Changes:

=====================================
docs/users_guide/exts/assert.rst
=====================================
@@ -33,7 +33,7 @@ assertion was made, ::
     assert pred val ==> assertError "Main.hs|15" pred val
 
 The rewrite is only performed by the compiler when it spots applications
-of ``Control.Exception.assert``, so you can still define and use your
+of :base-ref:`Control.Exception.assert`, so you can still define and use your
 own versions of ``assert``, should you so wish. If not, import
 ``Control.Exception`` to make use ``assert`` in your code.
 
@@ -48,6 +48,6 @@ will be rewritten to ``e``. You can also disable assertions using the
 allows enabling assertions even when optimisation is turned on.
 
 Assertion failures can be caught, see the documentation for the
-:base-ref:`Control.Exception` library for the details.
+:base-ref:`Control.Exception.` library for the details.
 
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6baa67f5500da6ca74272016ec8fd62a4b5b5050

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6baa67f5500da6ca74272016ec8fd62a4b5b5050
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200917/94988b1a/attachment-0001.html>


More information about the ghc-commits mailing list