Merge pull request #657 from tom-bop/master
Fix typo
commit889187316bfb5c9a55a73e114bb61123b162fb44
authorAdam Bergmark <adam@bergmark.nl>
dateTue 31 Jul 2018, 17:32 (8 years ago)
parent550b03daa765c9
Data/Aeson/Types/ToJSON.hs+1−1
@@ -264,7 +264,7 @@ genericLiftToEncoding opts te tel = gToJSON opts (To1Args te tel) . from1
264264-- @
265265--
266266-- Previous versions of this library only had the 'toJSON' method. Adding
267−-- 'toEncoding' had to reasons:
267+-- 'toEncoding' had two reasons:
268268--
269269-- 1. toEncoding is more efficient for the common case that the output of
270270-- 'toJSON' is directly serialized to a @ByteString@.