Skip to content

Commit 144d4f9

Browse files
committed
style: add Haddock markers to MintValue Eq instance comments
1 parent dc7d6c2 commit 144d4f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plutus-ledger-api/src/PlutusLedgerApi/V3/Data/MintValue.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ newtype MintValue = UnsafeMintValue (Map CurrencySymbol (Map TokenName Integer))
6262
deriving newtype (ToData, FromData, UnsafeFromData)
6363
deriving (Pretty) via (PrettyShow MintValue)
6464

65-
-- Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
66-
-- regardless of internal Map representation. Cannot use deriveEq for semantic equality.
65+
{-| Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
66+
regardless of internal Map representation. Cannot use deriveEq for semantic equality. -}
6767
instance PlutusTx.Eq MintValue where
6868
{-# INLINEABLE (==) #-}
6969
l == r = mintValueMinted l == mintValueMinted r && mintValueBurned l == mintValueBurned r

plutus-ledger-api/src/PlutusLedgerApi/V3/MintValue.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ newtype MintValue = UnsafeMintValue {unMintValue :: Map CurrencySymbol (Map Toke
6767
deriving newtype (ToData, FromData, UnsafeFromData)
6868
deriving (Pretty) via (PrettyShow MintValue)
6969

70-
-- Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
71-
-- regardless of internal Map representation. Cannot use deriveEq for semantic equality.
70+
{-| Manual Eq instance: two MintValues are equal if they mint and burn the same assets,
71+
regardless of internal Map representation. Cannot use deriveEq for semantic equality. -}
7272
instance PlutusTx.Eq MintValue where
7373
{-# INLINEABLE (==) #-}
7474
l == r = mintValueMinted l == mintValueMinted r && mintValueBurned l == mintValueBurned r

0 commit comments

Comments
 (0)