summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxHearnden <maxoscarhearnden@gmail.com>2022-03-22 14:15:18 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-01 11:05:19 +0100
commit3e209a62148a45b4af7441ee963f6f055b333864 (patch)
tree52b17f387e15795d2beefdb5646d8b3467178f26
parentdd7c7c998aea402bd5d8ae7ef7854a3bb60bcf2b (diff)
downloadhaskell-3e209a62148a45b4af7441ee963f6f055b333864.tar.gz
Change may not to might not
-rw-r--r--libraries/base/GHC/Stable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Stable.hs b/libraries/base/GHC/Stable.hs
index 3cd26302f4..fd4534133c 100644
--- a/libraries/base/GHC/Stable.hs
+++ b/libraries/base/GHC/Stable.hs
@@ -81,7 +81,7 @@ foreign import ccall unsafe "hs_free_stable_ptr" freeStablePtr :: StablePtr a ->
-- |
-- Coerce a stable pointer to an address. No guarantees are made about
-- the resulting value, except that the original stable pointer can be
--- recovered by 'castPtrToStablePtr'. In particular, the address may not
+-- recovered by 'castPtrToStablePtr'. In particular, the address might not
-- refer to an accessible memory location and any attempt to pass it to
-- the member functions of the class 'Foreign.Storable.Storable' leads to
-- undefined behaviour.