Skip to content

Commit 7cb0393

Browse files
authored
Fix line length lint issue
Reduced line lengths to 80 or lower for the sake of the linter getting mad.
1 parent 9e95e1d commit 7cb0393

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/api/buffer.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ In particular:
179179
* While [`TypedArray.prototype.slice()`][] creates a copy of part of the `TypedArray`,
180180
[`Buffer.prototype.slice()`][`buf.slice()`] creates a view over the existing `Buffer`
181181
without copying. This behavior can be surprising, and only exists for legacy
182-
compatibility. [`TypedArray.prototype.subarray()`][] can be used to achieve the behavior
183-
of [`Buffer.prototype.slice()`][`buf.slice()`] on both `Buffer`s and other
184-
`TypedArray`s.
182+
compatibility. [`TypedArray.prototype.subarray()`][] can be used to achieve
183+
the behavior of [`Buffer.prototype.slice()`][`buf.slice()`] on both `Buffer`s
184+
and other `TypedArray`s.
185185
* [`buf.toString()`][] is incompatible with its `TypedArray` equivalent.
186186
* A number of methods, e.g. [`buf.indexOf()`][], support additional arguments.
187187

@@ -1086,9 +1086,9 @@ added: v0.1.90
10861086
Copies data from a region of `buf` to a region in `target`, even if the `target`
10871087
memory region overlaps with `buf`.
10881088

1089-
[`TypedArray.prototype.set()`][] performs the same operation, and is available for all
1090-
TypedArrays, including Node.js `Buffer`s, although it takes different
1091-
function arguments.
1089+
[`TypedArray.prototype.set()`][] performs the same operation, and is available
1090+
for all TypedArrays, including Node.js `Buffer`s, although it takes
1091+
different function arguments.
10921092

10931093
```js
10941094
// Create two `Buffer` instances.
@@ -2136,7 +2136,7 @@ offset and cropped by the `start` and `end` indices.
21362136
Specifying `end` greater than [`buf.length`][] will return the same result as
21372137
that of `end` equal to [`buf.length`][].
21382138

2139-
This method is inherited from [`TypedArray.subarray()`][].
2139+
This method is inherited from [`TypedArray.prototype.subarray()`][].
21402140

21412141
Modifying the new `Buffer` slice will modify the memory in the original `Buffer`
21422142
because the allocated memory of the two objects overlap.

0 commit comments

Comments
 (0)