Skip to content

Commit 30c9cb5

Browse files
danbevcodebytere
authored andcommittedJun 7, 2020
doc: fix typo in n-api.md
This commit fixes what I think is a typo, even though the section in question does talk about a environment (env). PR-URL: #33319 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
1 parent f27ae6e commit 30c9cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Native addons may need to allocate global state of which they make use during
369369
their entire life cycle such that the state must be unique to each instance of
370370
the addon.
371371

372-
To this env, N-API provides a way to allocate data such that its life cycle is
372+
To this end, N-API provides a way to allocate data such that its life cycle is
373373
tied to the life cycle of the Agent.
374374

375375
### napi_set_instance_data

0 commit comments

Comments
 (0)
Please sign in to comment.