Skip to content

Commit

Permalink
doc: fix typo in n-api.md
Browse files Browse the repository at this point in the history
just replaced `than` with `that`.

- wrong: the N-API functions than can be used to change
- correct: the N-API functions that can be used to change

Fixes: nodejs#21049
  • Loading branch information
ohbarye committed May 31, 2018
1 parent 0baad8f commit 3b3d1e7
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 @@ -580,7 +580,7 @@ held live for the lifespan of the native method call.

In many cases, however, it is necessary that the handles remain valid for
either a shorter or longer lifespan than that of the native method.
The sections which follow describe the N-API functions than can be used
The sections which follow describe the N-API functions that can be used
to change the handle lifespan from the default.

### Making handle lifespan shorter than that of the native method
Expand Down

0 comments on commit 3b3d1e7

Please sign in to comment.