Skip to content

Commit 44361bd

Browse files
ChALkeRtargos
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 <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 90c8546 commit 44361bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/http2.md

+1-1
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

+1-1
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)