From 93a48e02dc2888f9508fb37e274f478ce554cc38 Mon Sep 17 00:00:00 2001 From: Ignacio Carbajo Date: Sun, 10 Oct 2021 21:27:54 +0200 Subject: [PATCH] doc: fix typos in n-api docs PR-URL: https://github.com/nodejs/node/pull/40402 Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Antoine du Hamel --- doc/api/n-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 6a32139283f4aa..5fb8cc65859ff1 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1574,7 +1574,7 @@ NAPI_EXTERN napi_status napi_create_reference(napi_env env, Returns `napi_ok` if the API succeeded. -This API create a new reference with the specified reference count +This API creates a new reference with the specified reference count to the `Object` passed in. #### napi_delete_reference @@ -4132,7 +4132,7 @@ napi_status napi_set_element(napi_env env, Returns `napi_ok` if the API succeeded. -This API sets and element on the `Object` passed in. +This API sets an element on the `Object` passed in. #### napi_get_element