Skip to content

Commit 922dd80

Browse files
fendorhasufell
andcommitted
Document Bytestring is UTF-8 encoded
Co-authored-by: Julian Ospald <hasufell@posteo.de>
1 parent 3a8a1ee commit 922dd80

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

Lines changed: 1 addition & 1 deletion
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)