fix Issue 14799 - Documentation for std.zlib.compress is incorrect

This commit is contained in:
Vladimir Panteleev 2015-09-01 05:40:12 +00:00
parent cf8f060e4f
commit 07422ed9a6

View file

@ -145,9 +145,9 @@ unittest
* *
* Params: * Params:
* srcbuf = buffer containing the data to compress * srcbuf = buffer containing the data to compress
* level = compression level. Legal values are 1..9, with 1 being the * level = compression level. Legal values are -1..9, with -1 indicating
* least compression and 9 being the most. The default value * the default level (6), 0 indicating no compression, 1 being the
* is 6. * least compression and 9 being the most.
* *
* Returns: * Returns:
* the compressed data * the compressed data