From 7660eb591ab923a7096ca0d02522e8415456e32c Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Tue, 16 May 2023 23:26:17 +0900 Subject: [PATCH] doc: fix typo in binding functions According to usage(node::util::RegisterExternalReferences) of below line, namespace has to be `util`(not `utils`). PR-URL: https://github.com/nodejs/node/pull/48003 Reviewed-By: Darshan Sen Reviewed-By: Daeyeon Jeong Reviewed-By: Harshitha K P Reviewed-By: Luigi Pinca --- src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index bcd6b6e8ccc4d9..2333a90fa04b10 100644 --- a/src/README.md +++ b/src/README.md @@ -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);