GeezerVison is showing github.com — doc: remove usage of you in n-api doc · nodejs/node@7ed1dfe
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/n-api.md +2-5Lines changed: 2 additions & 5 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3161,11 +3161,8 @@ required in order to enable correct proper of the reference. |
3161 | 3161 | Afterward, additional manipulation of the wrapper's prototype chain may cause |
3162 | 3162 | `napi_unwrap()` to fail. |
3163 | 3163 |
|
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. |
3169 | 3166 |
|
3170 | 3167 | ### napi_unwrap |
3171 | 3168 | <!-- YAML |
|