summary refs log tree commit diff stats
path: root/lib/genode_cpp
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2021-03-20 13:22:50 +0100
committerGitHub <noreply@github.com>2021-03-20 13:22:50 +0100
commitb70e33f5bbb7b9c146c97d39aabae57504f4ee75 (patch)
tree538354b7cc0cc48d87c73a358642dfad7fccfc9e /lib/genode_cpp
parent9997b42c3512d0422910704d6472c486efd4db19 (diff)
downloadNim-b70e33f5bbb7b9c146c97d39aabae57504f4ee75.tar.gz
strutils: improve doc comments for `replace` funcs (#17427)
This commit fixes mispellings of "occurrence" introduced by:
- 76a3b350ce0f (#17337)
- 8e8bea9044f0 (#17339)
and adds the same "every occurrence of" in the `replaceWord` func.

Other changes:
- Prefer "replace with" to "replace by".
- Be more consistent with "the" - prefer "of the character" given that
  we wrote "by the character".
- Try to be more consistent with writing the types - add
  "the string `sub`" given that we wrote "the character `sub`".
Diffstat (limited to 'lib/genode_cpp')
0 files changed, 0 insertions, 0 deletions