diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2022-09-22 09:00:42 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-22 15:46:42 +0200 |
commit | 2b20ed65b82d812fc12923dbdf2c54094dbaa7e8 (patch) | |
tree | 22248f455a808a2864b653616766d5df0ffa8ee4 /doc/primary-expression.txt | |
parent | 7e6be917987c3ab0261bf543eb307cbb2679294f (diff) |
doc, src: make some spelling and grammatical improvements
Fix a couple of spelling mistakes:
'expresion' -> 'expression'
and correct some non-native usages:
'allows to' -> 'allows one to'
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/primary-expression.txt')
-rw-r--r-- | doc/primary-expression.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/primary-expression.txt b/doc/primary-expression.txt index 4d6b0878..e13970cf 100644 --- a/doc/primary-expression.txt +++ b/doc/primary-expression.txt @@ -442,7 +442,7 @@ Create a number generator. The *inc* or *random* keywords control its operation mode: In *inc* mode, the last returned value is simply incremented. In *random* mode, a new random number is returned. The value after *mod* keyword specifies an upper boundary (read: modulus) which is not reached by -returned numbers. The optional *offset* allows to increment the returned value +returned numbers. The optional *offset* allows one to increment the returned value by a fixed offset. A typical use-case for *numgen* is load-balancing: @@ -472,7 +472,7 @@ header to apply the hashing, concatenations are possible as well. The value after *mod* keyword specifies an upper boundary (read: modulus) which is not reached by returned numbers. The optional *seed* is used to specify an init value used as seed in the hashing function. The optional *offset* -allows to increment the returned value by a fixed offset. +allows one to increment the returned value by a fixed offset. A typical use-case for *jhash* and *symhash* is load-balancing: |