summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-05-04 10:05:44 -0700
committerRich Trott <rtrott@gmail.com>2018-05-07 11:16:36 -0700
commit63a8436b91887ed272ef12aa79100f7232047c06 (patch)
tree835c61a0eefba4915ed41c760d63ff203137900f /doc
parentef37f09b47b0758987c9cd23d6054a0237cae437 (diff)
downloadnode-new-63a8436b91887ed272ef12aa79100f7232047c06.tar.gz
doc: fix minor typographical error in DEP0079 text
Change `backwards compatibility` to `backward compatibility`. (It's confusing because "backwards compatible" is acceptable because "backwards" can be used as an adverb like that. However, as an adjective, as in "backward compatibility", only "backward" will do. Easiest solution: Always use "backward" because it is OK in both cases. This is all compounded by the US vs UK English thing. US English tends to favor "backward", and we standardize on US English, so that's another point in favor of "backward" over "backwards" in this context.) PR-URL: https://github.com/nodejs/node/pull/20519 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/deprecations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 01902cd391..5b1ea7d34c 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -722,7 +722,7 @@ Type: Runtime
Using a property named `inspect` on an object to specify a custom inspection
function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]
-instead. For backwards compatibility with Node.js prior to version 6.4.0, both
+instead. For backward compatibility with Node.js prior to version 6.4.0, both
may be specified.
<a id="DEP0080"></a>