-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: fix code examples in zlib.md #13342
Conversation
I am a bit confused about this fragment:
If there is a typo here, let me know how to fix it. |
@vsemozhetbyt I don’t think there’s a typo in there, but I’d be glad to work out better phrasing if you have ideas or questions? |
I think it's supposed to be 'compress' and not 'compressed' in that bolded sentence? |
Heh. 😄 Sorry, yes, that’s a typo. |
@addaleax This option is very briefly documented, so I cannot suggest what the right wording would be:
Is this a right grammar? What does it mean? |
Yeah, right, it should be |
@addaleax is right, it should be 'decompress' now that I read the surrounding context. |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Use test() instead of match() in boolean context. * Add spaces in code example. * Fix typo. PR-URL: #13342 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Landed in 6cfdbc7 |
* Use test() instead of match() in boolean context. * Add spaces in code example. * Fix typo. PR-URL: #13342 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
Checklist
Affected core subsystem(s)
doc, zlib
test()
instead ofmatch()
in boolean context.