Skip to content

Commit 4d81618

Browse files
timarandrasGabriel Schulhof
authored andcommitted
doc: fix example code
PR-URL: #657 Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 7ac6e21 commit 4d81618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/async_worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ The following code shows an example of how to create and use an `Napi::AsyncWork
409409
// Include EchoWorker class
410410
// ..
411411

412-
use namespace Napi;
412+
using namespace Napi;
413413

414414
Value Echo(const CallbackInfo& info) {
415415
// You need to validate the arguments here.

0 commit comments

Comments
 (0)