mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: remove em dashes
Our documentation uses em dashes inconsistently. They are treated inconsistently typographically too. (For example, they are sometimes surrounded by spaces and sometimes not.) They are also often confused with ordinary hyphens such as in the CHANGELOG, where they are inadvertently mixed together in a single list. The difference is not obvious in the raw markdown but is very noticeable when rendered, appearing to be a typographical error (which it in fact is). The em dash is never needed. There are always alternatives. Remove em dashes entirely. PR-URL: https://github.com/nodejs/node/pull/32080 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
31ec44302a
commit
50094de274
15 files changed
+34
-38
No files matched your search
+1
-1
@@ -190,7 +190,7 @@ rejection handler.
|
||||
|
||||
There is no notion of a top level for a `Promise` chain at which rejections can
|
||||
always be handled. Being inherently asynchronous in nature, a `Promise`
|
||||
rejection can be handled at a future point in time — possibly much later than
|
||||
rejection can be handled at a future point in time, possibly much later than
|
||||
the event loop turn it takes for the `'unhandledRejection'` event to be emitted.
|
||||
|
||||
Another way of stating this is that, unlike in synchronous code where there is
|
||||
|
||||
Reference in new issue
Block a user