Skip to content

Commit 346186c

Browse files
committed
Fix grammar
neither…nor, completing what done in haskell#9162
1 parent 3b0472f commit 346186c

File tree

2 files changed

+3
-3
lines changed
  • Cabal/src/Distribution/PackageDescription/Check
  • cabal-testsuite/PackageTests/Check/ConfiguredPackage/Sanity/AutogenIncludes

2 files changed

+3
-3
lines changed

Cabal/src/Distribution/PackageDescription/Check/Warning.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ ppExplanation SignaturesCabal2 =
343343
"To use the 'signatures' field the package needs to specify "
344344
++ "at least 'cabal-version: 2.0'."
345345
ppExplanation AutogenNotExposed =
346-
"An 'autogen-module' is neither on 'exposed-modules' or 'other-modules'."
346+
"An 'autogen-module' is neither on 'exposed-modules' nor 'other-modules'."
347347
ppExplanation AutogenIncludesNotIncluded =
348-
"An include in 'autogen-includes' is neither in 'includes' or "
348+
"An include in 'autogen-includes' is neither in 'includes' nor "
349349
++ "'install-includes'."
350350
ppExplanation (NoMainIs eName) =
351351
"No 'main-is' field found for executable " ++ prettyShow eName
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# cabal check
22
The package will not build sanely due to these errors:
3-
Error: An include in 'autogen-includes' is neither in 'includes' or 'install-includes'.
3+
Error: An include in 'autogen-includes' is neither in 'includes' nor 'install-includes'.
44
Error: Hackage would reject this package.

0 commit comments

Comments
 (0)