diff options
author | Adam Sandberg Eriksson <adam@sandbergericsson.se> | 2020-09-16 07:45:47 -0400 |
---|---|---|
committer | Adam Sandberg Eriksson <adam@sandbergericsson.se> | 2020-09-16 07:45:47 -0400 |
commit | 6baa67f5500da6ca74272016ec8fd62a4b5b5050 (patch) | |
tree | 38ae57a049adea9f76c2f216bb680a40aad23bd4 /docs/users_guide | |
parent | 8af954d202de1de0671062c3f55e43fc783f8192 (diff) | |
download | haskell-6baa67f5500da6ca74272016ec8fd62a4b5b5050.tar.gz |
docs: correct haddock reference
[skip ci]
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/exts/assert.rst | 4 |
1 files 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. |