Skip to content

Commit

Permalink
doc: fix typo in n-api.md
Browse files Browse the repository at this point in the history
PR-URL: nodejs#13323
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
disjukr authored and Gabriel Schulhof committed Apr 10, 2018
1 parent 8653a1b commit 897bac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ Taking the earlier example, adding calls to [`napi_open_handle_scope`][] and
is valid throughout the execution of the loop:

```C
for (int i = 0; i < 1000000; i++) {napi_
for (int i = 0; i < 1000000; i++) {
napi_handle_scope scope;
napi_status status = napi_open_handle_scope(env, &scope);
if (status != napi_ok) {
Expand Down

0 comments on commit 897bac2

Please sign in to comment.