Skip to content

Commit 788209f

Browse files
authored
Use Haddock markup in deprecation messages
(so that Haddock properly hyperlinks the suggested alternatives)
1 parent e122d5a commit 788209f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System/Process/Typed.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ withProcess :: (MonadUnliftIO m)
349349
-> (Process stdin stdout stderr -> m a)
350350
-> m a
351351
withProcess = withProcessTerm
352-
{-# DEPRECATED withProcess "Please consider using withProcessWait, or instead use withProcessTerm" #-}
352+
{-# DEPRECATED withProcess "Please consider using `withProcessWait`, or instead use `withProcessTerm`" #-}
353353

354354
-- | Same as 'withProcessTerm', but also calls 'checkExitCode'
355355
--
@@ -389,7 +389,7 @@ withProcess_ :: (MonadUnliftIO m)
389389
-> (Process stdin stdout stderr -> m a)
390390
-> m a
391391
withProcess_ = withProcessTerm_
392-
{-# DEPRECATED withProcess_ "Please consider using withProcessWait_, or instead use withProcessTerm_" #-}
392+
{-# DEPRECATED withProcess_ "Please consider using `withProcessWait_`, or instead use `withProcessTerm_`" #-}
393393

394394
-- | Run a process, capture its standard output and error as a
395395
-- 'L.ByteString', wait for it to complete, and then return its exit

0 commit comments

Comments
 (0)