Skip to content

Commit 24a2791

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: #19447 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 c09a713 commit 24a2791

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
@@ -3159,11 +3159,8 @@ required in order to enable correct proper of the reference.
31593159
Afterward, additional manipulation of the wrapper's prototype chain may cause
31603160
`napi_unwrap()` to fail.
31613161

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

31683165
### napi_unwrap
31693166
<!-- YAML

0 commit comments

Comments
 (0)