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: #21049

PR-URL: #21060
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
  • Loading branch information
ohbarye authored and addaleax committed Jun 1, 2018
1 parent b5b7459 commit 4012e05
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 4012e05

Please sign in to comment.