Skip to content

Commit 5f0b343

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. PR-URL: #18528 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 2418c86 commit 5f0b343

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

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

31553152
### napi_unwrap
31563153
<!-- YAML

0 commit comments

Comments
 (0)