summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Frezzato <denis.frezzato@tutanota.com>2021-01-24 12:27:35 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-28 14:39:17 -0500
commit20fbb7c695083e4df16d467ab91769fe6957aa84 (patch)
tree7f37531203fa7cca408ce580a0d14753fe057174
parent38adba6b98849471402a59472ed984ad7123d25f (diff)
downloadhaskell-20fbb7c695083e4df16d467ab91769fe6957aa84.tar.gz
Fix code formatting in `HasCallStack` section
-rw-r--r--docs/users_guide/exts/callstack.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/exts/callstack.rst b/docs/users_guide/exts/callstack.rst
index f4fbf9b7e9..59d17cae9c 100644
--- a/docs/users_guide/exts/callstack.rst
+++ b/docs/users_guide/exts/callstack.rst
@@ -10,7 +10,7 @@ A function can request its call-site with the ``HasCallStack`` constraint
and access it as a Haskell value by using ``callStack``.
One can then use functions from ``GHC.Stack`` to inspect or pretty
-print (as is done in ``f`` below) the call stack.
+print (as is done in ``f`` below) the call stack. ::
f :: HasCallStack => IO ()
f = putStrLn (prettyCallStack callStack)