Skip to content

Commit 3e1dd55

Browse files
ChALkeRtrivikr
authored andcommitted
doc: fix quotes mistypes in inline code blocks
This fixes trivial invalid quotes mistypes in inline code blocks, e.g. forgotten quotes or mixed order. Whether this could be easily automatically checked in lint is a separate question: e.g. `'` is valid. PR-URL: #19713 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 107b067 commit 3e1dd55

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3427,7 +3427,7 @@ Synchronous versions of [`fs.write()`][]. Returns the number of bytes written.
34273427
34283428
The `fs/promises` API provides an alternative set of asynchronous file system
34293429
methods that return `Promise` objects rather than using callbacks. The
3430-
API is accessible via `require('fs/promises)`.
3430+
API is accessible via `require('fs/promises')`.
34313431

34323432
### class: FileHandle
34333433
<!-- YAML

doc/api/http2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ payload.
439439
session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => {
440440
if (!err) {
441441
console.log(`Ping acknowledged in ${duration} milliseconds`);
442-
console.log(`With payload '${payload.toString()}`);
442+
console.log(`With payload '${payload.toString()}'`);
443443
}
444444
});
445445
```

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ changes:
211211
a process warning.
212212
-->
213213

214-
The `'unhandledRejection`' event is emitted whenever a `Promise` is rejected and
214+
The `'unhandledRejection'` event is emitted whenever a `Promise` is rejected and
215215
no error handler is attached to the promise within a turn of the event loop.
216216
When programming with Promises, exceptions are encapsulated as "rejected
217217
promises". Rejections can be caught and handled using [`promise.catch()`][] and

0 commit comments

Comments
 (0)