Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@users.noreply.github.com>2021-03-28 15:34:10 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-03-30 03:17:19 +0300
commitbd87e195ed74cc4cd462acdbfd449ab0c3d085a3 (patch)
tree16f03b9ad074c7700ffce97b7ee1b282257c1e46
parentb7e738410915ece886b193fef6de9d892cd25645 (diff)
src: fix typo in src code guide
PR-URL: https://github.com/nodejs/node/pull/37956 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
-rw-r--r--src/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/README.md b/src/README.md
index d811a628027..b278c028736 100644
--- a/src/README.md
+++ b/src/README.md
@@ -812,7 +812,7 @@ reference to its associated JavaScript object. This can be useful when one
`BaseObject` refers to another `BaseObject` and wants to make sure it stays
alive during the lifetime of that reference.
-A `BaseObject` can be “detached” throught the `BaseObject::Detach()` method.
+A `BaseObject` can be “detached” through the `BaseObject::Detach()` method.
In this case, it will be deleted once the last `BaseObjectPtr` referring to
it is destroyed. There must be at least one such pointer when `Detach()` is
called. This can be useful when one `BaseObject` fully owns another