Skip to content

Commit 7ed1dfe

Browse files
mhdawsonMylesBorins
authored andcommitted
doc: remove usage of you in n-api doc
We avoid using 'you' in the documentation based on our guidelines. Remove usage in the n-api doc. Backport-PR-URL: #19265 PR-URL: #18528 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent 969a520 commit 7ed1dfe

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

doc/api/n-api.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -3161,11 +3161,8 @@ required in order to enable correct proper of the reference.
31613161
Afterward, additional manipulation of the wrapper's prototype chain may cause
31623162
`napi_unwrap()` to fail.
31633163

3164-
*Note*: Calling `napi_wrap()` a second time on an object that already has a
3165-
native instance associated with it by virtue of a previous call to
3166-
`napi_wrap()` will cause an error to be returned. If you wish to associate
3167-
another native instance with the given object, call `napi_remove_wrap()` on it
3168-
first.
3164+
Calling napi_wrap() a second time on an object will return an error. To associate
3165+
another native instance with the object, use napi_remove_wrap() first.
31693166

31703167
### napi_unwrap
31713168
<!-- YAML

0 commit comments

Comments
 (0)