Skip to content

Commit

Permalink
Fix Haddock docs for Distribution.Types.Dependency (#10197)
Browse files Browse the repository at this point in the history
Type `Dependency` is an instance of `Ord`, from `Cabal-syntax-3.10.1.0`.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 33bd14c)
  • Loading branch information
mpilgrem authored and Mikolaj committed Jul 18, 2024
1 parent 4f23c81 commit 1d3cc2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Cabal-syntax/src/Distribution/Types/Dependency.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ import qualified Text.PrettyPrint as PP
--
-- /Invariant:/ package name does not appear as 'LSubLibName' in
-- set of library names.
--
-- /Note:/ 'Dependency' is not an instance of 'Ord', and so it cannot be used
-- in 'Set' or as the key to a 'Map'. For these and similar use cases see
-- 'DependencyMap'.
data Dependency
= -- | The set of libraries required from the package.
-- Only the selected libraries will be built.
Expand Down

0 comments on commit 1d3cc2a

Please sign in to comment.