Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strutils: improve doc comments for
replace
funcs (nim-lang#17427)
This commit fixes mispellings of "occurrence" introduced by: - 76a3b35 (nim-lang#17337) - 8e8bea9 (nim-lang#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`".
- Loading branch information