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
committerDarshan Sen <raisinten@gmail.com>2021-03-28 18:51:08 +0300
commited6e8f6518e98b26fe58d29669de734d3120708a (patch)
tree5ae80a131a13ee22f45c58c89c2b1c20674b6c1e /src/README.md
parentadcd60eee6b4ca1001e640638349e7ebc6c06e4b (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>
Diffstat (limited to 'src/README.md')
-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