Skip to content

Commit 5e93bc4

Browse files
agcolomrvagg
authored andcommitted
doc: use US English for consistency
behaviour -> behavior PR-URL: #2784 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Brendan Ashworth <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent b73ff52 commit 5e93bc4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ CoC](http://www.rust-lang.org/conduct.html).
198198
* Please keep unstructured critique to a minimum. If you have solid
199199
ideas you want to experiment with, make a fork and see how it works.
200200
* We will exclude you from interaction if you insult, demean or harass
201-
anyone. That is not welcome behaviour. We interpret the term
201+
anyone. That is not welcome behavior. We interpret the term
202202
"harassment" as including the definition in the [Citizen Code of
203203
Conduct](http://citizencodeofconduct.org/); if you have any lack of
204204
clarity about what might be included in that concept, please read
@@ -212,7 +212,7 @@ CoC](http://www.rust-lang.org/conduct.html).
212212
a newcomer, we care about making this community a safe place for you
213213
and we've got your back.
214214
* Likewise any spamming, trolling, flaming, baiting or other
215-
attention-stealing behaviour is not welcome.
215+
attention-stealing behavior is not welcome.
216216
* Avoid the use of personal pronouns in code comments or
217217
documentation. There is no need to address persons when explaining
218218
code (e.g. "When the developer")

doc/api/modules.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ The `exports` variable that is available within a module starts as a reference
301301
to `module.exports`. As with any variable, if you assign a new value to it, it
302302
is no longer bound to the previous value.
303303

304-
To illustrate the behaviour, imagine this hypothetical implementation of
304+
To illustrate the behavior, imagine this hypothetical implementation of
305305
`require()`:
306306

307307
function require(...) {

doc/api/process.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ Note:
206206
install a listener but that won't stop the debugger from starting.
207207
- `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that resets
208208
the terminal mode before exiting with code `128 + signal number`. If one of
209-
these signals has a listener installed, its default behaviour will be removed
209+
these signals has a listener installed, its default behavior will be removed
210210
(io.js will no longer exit).
211211
- `SIGPIPE` is ignored by default, it can have a listener installed.
212212
- `SIGHUP` is generated on Windows when the console window is closed, and on other
213213
platforms under various similar conditions, see signal(7). It can have a
214214
listener installed, however io.js will be unconditionally terminated by
215215
Windows about 10 seconds later. On non-Windows platforms, the default
216-
behaviour of `SIGHUP` is to terminate io.js, but once a listener has been
217-
installed its default behaviour will be removed.
216+
behavior of `SIGHUP` is to terminate io.js, but once a listener has been
217+
installed its default behavior will be removed.
218218
- `SIGTERM` is not supported on Windows, it can be listened on.
219219
- `SIGINT` from the terminal is supported on all platforms, and can usually be
220220
generated with `CTRL+C` (though this may be configurable). It is not generated

0 commit comments

Comments
 (0)