Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit 62c1aac

Browse files
committed
Remove @nosideeffects from buffer.Buffer.prototype.copy
The side-effect of this method is copying data into the target buffer given as an argument. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
1 parent 13fca10 commit 62c1aac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

buffer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ buffer.Buffer.prototype.length;
106106
* @param {number=} sourceStart
107107
* @param {number=} sourceEnd
108108
* @return {buffer.Buffer}
109-
* @nosideeffects
110109
*/
111110
buffer.Buffer.prototype.copy = function(targetBuffer, targetStart, sourceStart, sourceEnd){};
112111

0 commit comments

Comments
 (0)