diff options
author | def <dennis@felsin9.de> | 2015-06-21 21:25:19 +0200 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-06-21 21:25:19 +0200 |
commit | a7f03e8d46b25ef9210a75d1c09bccbebb9e3842 (patch) | |
tree | a1c6e2ce3089b2c5e47427d165df681ad943dda4 | |
parent | 37ff086c86129602c34f660cd4193c9a02273f81 (diff) | |
download | Nim-a7f03e8d46b25ef9210a75d1c09bccbebb9e3842.tar.gz |
Use gender neutral language in documentation
-rw-r--r-- | doc/manual/ffi.txt | 2 | ||||
-rw-r--r-- | doc/tut1.txt | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual/ffi.txt b/doc/manual/ffi.txt index 4a4e0316f..bc402b570 100644 --- a/doc/manual/ffi.txt +++ b/doc/manual/ffi.txt @@ -107,7 +107,7 @@ Unchecked pragma ---------------- The ``unchecked`` pragma can be used to mark a named array as ``unchecked`` meaning its bounds are not checked. This is often useful when one wishes to -implement his own flexibly sized arrays. Additionally an unchecked array is +implement their own flexibly sized arrays. Additionally an unchecked array is translated into a C array of undetermined size: .. code-block:: nim diff --git a/doc/tut1.txt b/doc/tut1.txt index 500480cf0..11a4d6adc 100644 --- a/doc/tut1.txt +++ b/doc/tut1.txt @@ -333,8 +333,8 @@ The while statement is a simple looping construct: name = readLine(stdin) # no ``var``, because we do not declare a new variable here -The example uses a while loop to keep asking the user for his name, as long as -he types in nothing (only presses RETURN). +The example uses a while loop to keep asking the user for their name, as long +as the user types in nothing (only presses RETURN). For statement @@ -545,9 +545,9 @@ procedures are defined with the ``proc`` keyword: echo("I think you know what the problem is just as well as I do.") This example shows a procedure named ``yes`` that asks the user a ``question`` -and returns true if he answered "yes" (or something similar) and returns -false if he answered "no" (or something similar). A ``return`` statement leaves -the procedure (and therefore the while loop) immediately. The +and returns true if they answered "yes" (or something similar) and returns +false if they answered "no" (or something similar). A ``return`` statement +leaves the procedure (and therefore the while loop) immediately. The ``(question: string): bool`` syntax describes that the procedure expects a parameter named ``question`` of type ``string`` and returns a value of type ``bool``. ``Bool`` is a built-in type: the only valid values for ``bool`` are |