Skip to content

Commit

Permalink
Manual typos corrections (detected with typos)
Browse files Browse the repository at this point in the history
The typos tool cannot --write-changes when the fix is ambigous. These need manual fixes:
- Typo -expections
- Typo ths
- Typo ot
- Typo dependend
  • Loading branch information
philderbeast committed Dec 3, 2024
1 parent fcf6bd0 commit 02a9724
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/PackageDescription/Check/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ partitionDeps ads ns ds = do
-- for important dependencies like base).
checkPVP
:: Monad m
=> (String -> PackageCheck) -- Warn message dependend on name
=> (String -> PackageCheck) -- Warn message depends on name
-- (e.g. "base", "Cabal").
-> [Dependency]
-> CheckM m ()
Expand Down
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Program/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ data ConfiguredProgram = ConfiguredProgram
, programMonitorFiles :: [FilePath]
-- ^ In addition to the 'programLocation' where the program was found,
-- these are additional locations that were looked at. The combination
-- of ths found location and these not-found locations can be used to
-- of this found location and these not-found locations can be used to
-- monitor to detect when the re-configuring the program might give a
-- different result (e.g. found in a different location).
}
Expand Down
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Simple/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ die' verbosity msg = withFrozenCallStack $ do
=<< pure . addErrorPrefix
=<< prefixWithProgName msg

-- Type which will be a wrapper for cabal -expections and cabal-install exceptions
-- Type which will be a wrapper for cabal -exceptions and cabal-install exceptions
data VerboseException a = VerboseException CallStack POSIXTime Verbosity a
deriving (Show, Typeable)

Expand Down
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/Utils/IOData.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ instance KnownIODataMode LBS.ByteString where

-- | 'IOData' Wrapper for 'System.IO.hPutStr' and 'System.IO.hClose'
--
-- This is the dual operation ot 'hGetIODataContents',
-- This is the dual operation to 'hGetIODataContents',
-- and consequently the handle is closed with `hClose`.
--
-- /Note:/ this performs lazy-IO.
Expand Down

0 comments on commit 02a9724

Please sign in to comment.