Skip to content

Commit bfeeeeb

Browse files
committed
doc: fix broken links in n-api doc
- fix 2 broken links - fix capitalization in description of napi_create_array-with-length
1 parent 42958d1 commit bfeeeeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/n-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ The Array's length property is set to the passed-in length parameter.
952952
However, the underlying buffer is not guaranteed to be pre-allocated by the VM
953953
when the array is created - that behavior is left to the underlying VM
954954
implementation.
955-
if the buffer must be a contiguous block of memory that can be
955+
If the buffer must be a contiguous block of memory that can be
956956
directly read and/or written via C, consider using
957957
[`napi_create_external_arraybuffer`][].
958958

@@ -2965,13 +2965,13 @@ callback invocation, even when it was cancelled.
29652965
[`napi_close_handle_scope`]: #n_api_napi_close_handle_scope
29662966
[`napi_create_async_work`]: #n_api_napi_create_async_work
29672967
[`napi_create_error`]: #n_api_napi_create_error
2968-
[`napi_create_external_arraybuffer`][]: #n_api_napi_create_external_arraybuffer
2968+
[`napi_create_external_arraybuffer`]: #n_api_napi_create_external_arraybuffer
29692969
[`napi_create_range_error`]: #n_api_napi_create_range_error
29702970
[`napi_create_reference`]: #n_api_napi_create_reference
29712971
[`napi_create_type_error`]: #n_api_napi_create_type_error
29722972
[`napi_define_class`]: #n_api_napi_define_class
29732973
[`napi_delete_async_work`]: #n_api_napi_delete_async_work
2974-
[`napi_define_class`][]: #n_api_napi_define_class
2974+
[`napi_define_class`]: #n_api_napi_define_class
29752975
[`napi_delete_reference`]: #n_api_napi_delete_reference
29762976
[`napi_escape_handle`]: #n_api_napi_escape_handle
29772977
[`napi_get_array_length`]: #n_api_napi_get_array_length

0 commit comments

Comments
 (0)