From 6baa67f5500da6ca74272016ec8fd62a4b5b5050 Mon Sep 17 00:00:00 2001 From: Adam Sandberg Eriksson Date: Wed, 16 Sep 2020 07:45:47 -0400 Subject: docs: correct haddock reference [skip ci] --- docs/users_guide/exts/assert.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/users_guide/exts/assert.rst b/docs/users_guide/exts/assert.rst index 836443f7de..11a940b34d 100644 --- a/docs/users_guide/exts/assert.rst +++ b/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. -- cgit v1.2.1