Skip to content

Commit 09bf04f

Browse files
committed
doc: address nits for src/README.md
Refs: nodejs#30552 (review)
1 parent 80ac428 commit 09bf04f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ such as `std::string` and track their memory usage.
593593

594594
This can be useful for debugging memory leaks.
595595

596-
The [`memory_retainer.h`][] header file explains how to use this class.
596+
The [`memory_tracker.h`][] header file explains how to use this class.
597597

598598
<a id="baseobject"></a>
599599
### `BaseObject`
@@ -795,7 +795,7 @@ heap if it is larger. This can be useful for performantly allocating temporary
795795
data if it is typically expected to be small (e.g. file paths).
796796

797797
The `Utf8Value`, `TwoByteValue` (i.e. UTF-16 value) and `BufferValue`
798-
(`Utf8Value` but copy data from a `Buffer` is that is passed) helpers
798+
(`Utf8Value` but copy data from a `Buffer` if one is passed) helpers
799799
inherit from this class and allow accessing the characters in a JavaScript
800800
string this way.
801801

@@ -873,7 +873,7 @@ static void GetUserInfo(const FunctionCallbackInfo<Value>& args) {
873873
[`async_wrap.h`]: async_wrap.h
874874
[`base_object.h`]: base_object.h
875875
[`handle_wrap.h`]: handle_wrap.h
876-
[`memory_retainer.h`]: memory_retainer.h
876+
[`memory_tracker.h`]: memory_tracker.h
877877
[`req_wrap.h`]: req_wrap.h
878878
[`util.h`]: util.h
879879
[`v8.h` in Code Search]: https://cs.chromium.org/chromium/src/v8/include/v8.h
@@ -888,7 +888,7 @@ static void GetUserInfo(const FunctionCallbackInfo<Value>& args) {
888888
[cleanup hooks]: #cleanup-hooks
889889
[event loop]: #event-loop
890890
[exception handling]: #exception-handling
891-
[internal field]: #internal-field
891+
[internal field]: #internal-fields
892892
[introduction for V8 embedders]: https://v8.dev/docs/embed
893893
[libuv handles]: #libuv-handles-and-requests
894894
[libuv requests]: #libuv-handles-and-requests

0 commit comments

Comments
 (0)