Skip to content
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: remove old description for compare method #4227

Closed
wants to merge 1 commit into from
Closed

doc: remove old description for compare method #4227

wants to merge 1 commit into from

Conversation

janriemer
Copy link
Contributor

Above the buffer.compare(otherBuffer) method, there seems to
be a description from an older version of this method.

I have removed it.

@r-52 r-52 added buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations. labels Dec 10, 2015
@mscdex
Copy link
Contributor

mscdex commented Dec 10, 2015

It shouldn't be removed, but instead moved to underneath buf.equals() since it seems to be missing a description.

@janriemer
Copy link
Contributor Author

You're right! Thank you. I've corrected it. 😉

@@ -267,6 +264,8 @@ region in the same buffer

* `otherBuffer` {Buffer}

Returns a boolean indicating whether this and otherBuffer have the same bytes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backticks are missing around this and otherBuffer.

the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature
@janriemer
Copy link
Contributor Author

Sorry, it should be ok now.

@jasnell
Copy link
Member

jasnell commented Dec 11, 2015

LGTM

@mscdex
Copy link
Contributor

mscdex commented Dec 11, 2015

LGTM

jasnell pushed a commit that referenced this pull request Dec 11, 2015
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: #4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@jasnell
Copy link
Member

jasnell commented Dec 11, 2015

Landed in 1a21a53

@jasnell jasnell closed this Dec 11, 2015
@janriemer janriemer deleted the patch-1 branch December 11, 2015 20:35
@rvagg
Copy link
Member

rvagg commented Dec 14, 2015

It looks like this is your first contribution to core @janriemer! Thanks for the PR and welcome on board!

cjihrig pushed a commit that referenced this pull request Dec 15, 2015
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: #4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@rvagg rvagg mentioned this pull request Dec 17, 2015
MylesBorins pushed a commit that referenced this pull request Dec 30, 2015
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: #4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: #4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
the description of buffer.equals(otherBuffer) was at the wrong
place; move it underneath the method signature

PR-URL: nodejs#4227
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants