Skip to content

Commit

Permalink
doc: fix typo in binding functions
Browse files Browse the repository at this point in the history
According to usage(node::util::RegisterExternalReferences) of
below line, namespace has to be `util`(not `utils`).

PR-URL: #48003
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
deokjinkim authored and MoLow committed Jul 6, 2023
1 parent 070c345 commit ce859f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ with the utilities in `node_external_reference.h`, like this:
```cpp
namespace node {
namespace utils {
namespace util {
void RegisterExternalReferences(ExternalReferenceRegistry* registry) {
registry->Register(GetHiddenValue);
registry->Register(SetHiddenValue);
Expand Down

0 comments on commit ce859f9

Please sign in to comment.