Fix hash in haddock of ghc-prim.
authorHE, Tao <sighingnow@gmail.com>
Mon, 15 Jan 2018 18:51:15 +0000 (13:51 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 18 Jan 2018 19:20:28 +0000 (14:20 -0500)
Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14653

Differential Revision: https://phabricator.haskell.org/D4305

(cherry picked from commit 2feed118413944cae8a4eed17365f40521f470db)

compiler/prelude/primops.txt.pp

index d6c06b1..38617b5 100644 (file)
@@ -2621,7 +2621,7 @@ section "Unsafe pointer equality"
 
 primop  ReallyUnsafePtrEqualityOp "reallyUnsafePtrEquality#" GenPrimOp
    a -> a -> Int#
-   { Returns 1# if the given pointers are equal and 0# otherwise. }
+   { Returns {\texttt 1\#} if the given pointers are equal and {\texttt 0\#} otherwise. }
    with
    can_fail   = True -- See Note [reallyUnsafePtrEquality#]