Skip to content

Commit b8573d0

Browse files
JacksonTianjasnell
authored andcommitted
doc: correct anchors for buffer.md
the `buf.fill()` and `Buffer#indexOf` don't have correctly anchors PR-URL: #6542 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 98b534f commit b8573d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/buffer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,9 +1983,11 @@ console.log(buf);
19831983

19841984
[iterator]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
19851985
[`Array#indexOf()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
1986+
[`Buffer#indexOf()`]: #buffer_buf_indexof_value_byteoffset_encoding
19861987
[`Array#includes()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes
19871988
[`buf.entries()`]: #buffer_buf_entries
19881989
[`buf.fill(0)`]: #buffer_buf_fill_value_offset_end_encoding
1990+
[`buf.fill()`]: #buffer_buf_fill_value_offset_end_encoding
19891991
[`buf.keys()`]: #buffer_buf_keys
19901992
[`buf.slice()`]: #buffer_buf_slice_start_end
19911993
[`buf.values()`]: #buffer_buf_values

0 commit comments

Comments
 (0)