-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
fix a typo in Buffer example code #6361
Conversation
LGTM |
@c0b Mind editing your commit to include the subsystem of Note: this may get landed with that amended by us, but please keep it in mind for the future! :) |
it shows `Buffer(.from[1, 2, 3]);` but that doesn't run; should be a typo https://nodejs.org/dist/latest-v5.x/docs/api/buffer.html#buffer_buffers_and_es6_iteration resolve comment in nodejs@c1534e7#commitcomment-17228215 the same doc in master 85ab4a5 is correct.
sure; was reading online and editing thru github web interface; now should be done |
Commit message lines are a tad too long, but other than that LGTM |
LGTM |
1 similar comment
LGTM |
fixes `Buffer(.from[1, 2, 3])` into `Buffer.from(...)` (v5.x only) https://nodejs.org/dist/latest-v5.x/docs/api/buffer.html Commented in: c1534e7#commitcomment-17228215 PR-URL: #6361 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 9992048 into |
Checklist
Description of change
it shows
Buffer(.from[1, 2, 3]);
but that doesn't run; should be a typoresolve comment in c1534e7#commitcomment-17228215; verified the same doc in master 85ab4a5 is correct.