From 09bf04f90f130e41f492dc59721a069505bb7d3c Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 28 Nov 2019 01:35:05 +0100 Subject: [PATCH] doc: address nits for src/README.md Refs: https://github.com/nodejs/node/pull/30552#pullrequestreview-321954717 --- src/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/README.md b/src/README.md index 48cf99991552e2..cfd6cd6266c695 100644 --- a/src/README.md +++ b/src/README.md @@ -593,7 +593,7 @@ such as `std::string` and track their memory usage. This can be useful for debugging memory leaks. -The [`memory_retainer.h`][] header file explains how to use this class. +The [`memory_tracker.h`][] header file explains how to use this class. ### `BaseObject` @@ -795,7 +795,7 @@ heap if it is larger. This can be useful for performantly allocating temporary data if it is typically expected to be small (e.g. file paths). The `Utf8Value`, `TwoByteValue` (i.e. UTF-16 value) and `BufferValue` -(`Utf8Value` but copy data from a `Buffer` is that is passed) helpers +(`Utf8Value` but copy data from a `Buffer` if one is passed) helpers inherit from this class and allow accessing the characters in a JavaScript string this way. @@ -873,7 +873,7 @@ static void GetUserInfo(const FunctionCallbackInfo& args) { [`async_wrap.h`]: async_wrap.h [`base_object.h`]: base_object.h [`handle_wrap.h`]: handle_wrap.h -[`memory_retainer.h`]: memory_retainer.h +[`memory_tracker.h`]: memory_tracker.h [`req_wrap.h`]: req_wrap.h [`util.h`]: util.h [`v8.h` in Code Search]: https://cs.chromium.org/chromium/src/v8/include/v8.h @@ -888,7 +888,7 @@ static void GetUserInfo(const FunctionCallbackInfo& args) { [cleanup hooks]: #cleanup-hooks [event loop]: #event-loop [exception handling]: #exception-handling -[internal field]: #internal-field +[internal field]: #internal-fields [introduction for V8 embedders]: https://v8.dev/docs/embed [libuv handles]: #libuv-handles-and-requests [libuv requests]: #libuv-handles-and-requests