Skip to content

Commit 0a2610a

Browse files
Trottruyadorno
authored andcommitted
doc: avoid double-while sentence in perf_hooks.md
This improves readability, as well as awkward reptition of the word _while_ with two different meanings in a single sentence. Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/w/while PR-URL: #35078 Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
1 parent 6627c1f commit 0a2610a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ setImmediate(() => {
101101
});
102102
```
103103

104-
While the CPU is mostly idle while running this script the value of
104+
Although the CPU is mostly idle while running this script, the value of
105105
`utilization` is 1. This is because the call to [`child_process.spawnSync()`][]
106106
blocks the event loop from proceeding.
107107

0 commit comments

Comments
 (0)