src: fix typos · nodejs/node@b338d53 · GitHub
Skip to content

Commit b338d53

Browse files
gengjiawentargos
authored andcommitted
src: fix typos
PR-URL: #27580 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent c78de13 commit b338d53

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/async_wrap.h

Lines changed: 1 addition & 1 deletion

src/env.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ class Environment : public MemoryRetainer {
885885

886886
inline IsolateData* isolate_data() const;
887887

888-
// Utilites that allocate memory using the Isolate's ArrayBuffer::Allocator.
888+
// Utilities that allocate memory using the Isolate's ArrayBuffer::Allocator.
889889
// In particular, using AllocateManaged() will provide a RAII-style object
890890
// with easy conversion to `Buffer` and `ArrayBuffer` objects.
891891
inline AllocatedBuffer AllocateManaged(size_t size, bool checked = true);

src/node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ MaybeLocal<Value> RunBootstrapping(Environment* env) {
330330
return MaybeLocal<Value>();
331331

332332
// Make sure that no request or handle is created during bootstrap -
333-
// if necessary those should be done in pre-exeuction.
333+
// if necessary those should be done in pre-execution.
334334
// TODO(joyeecheung): print handles/requests before aborting
335335
CHECK(env->req_wrap_queue()->IsEmpty());
336336
CHECK(env->handle_wrap_queue()->IsEmpty());

src/node_main_instance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace node {
1515
// We may be able to create an abstract class to reuse some of the routines.
1616
class NodeMainInstance {
1717
public:
18-
// To create a main instance that does not own the isoalte,
18+
// To create a main instance that does not own the isolate,
1919
// The caller needs to do:
2020
//
2121
// Isolate* isolate = Isolate::Allocate();

src/node_native_module_env.cc

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)