Skip to content

Commit 9e62d6a

Browse files
fendorhasufell
andcommitted
Document Bytestring is UTF-8 encoded
Co-authored-by: Julian Ospald <[email protected]>
1 parent 4f9436a commit 9e62d6a

File tree

1 file changed

+1
-1
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal

1 file changed

+1
-1
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Parse.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ parseCabalFile =
4040
parseCabalFileContents bs
4141

4242
parseCabalFileContents
43-
:: BS.ByteString
43+
:: BS.ByteString -- ^ UTF-8 encoded bytestring
4444
-> IO ([PWarning], Either (Maybe Version, NonEmpty PError) GenericPackageDescription)
4545
parseCabalFileContents bs =
4646
pure $ runParseResult (parseGenericPackageDescription bs)

0 commit comments

Comments
 (0)