diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-05-27 01:03:58 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-05-30 10:02:09 -0400 |
commit | 8fe99c746261da298c4542640cb11f234838813b (patch) | |
tree | 42797dda5865e88deda77bed8997e9042717726e /compiler/utils | |
parent | 2ea93a7db7dcd9381b6d9e017ff015addd2adf5c (diff) | |
download | haskell-8fe99c746261da298c4542640cb11f234838813b.tar.gz |
Remove incorrect comment
Moving fingerprintByteString to GHC.Fingerprint would require
adding a dependency on bytestring to base.
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Fingerprint.hsc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/utils/Fingerprint.hsc b/compiler/utils/Fingerprint.hsc index 4c89ec0893..01de554869 100644 --- a/compiler/utils/Fingerprint.hsc +++ b/compiler/utils/Fingerprint.hsc @@ -42,7 +42,6 @@ readHexFingerprint s = Fingerprint w1 w2 [(w1,"")] = readHex s1 [(w2,"")] = readHex (take 16 s2) --- this can move to GHC.Fingerprint in GHC 8.6 fingerprintByteString :: BS.ByteString -> Fingerprint fingerprintByteString bs = unsafeDupablePerformIO $ BS.unsafeUseAsCStringLen bs $ \(ptr, len) -> fingerprintData (castPtr ptr) len |