]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #97192 - sunfishcode:sunfishcode/rightmost, r=thomcc
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Fri, 20 May 2022 12:03:06 +0000 (14:03 +0200)
committerGitHub <noreply@github.com>
Fri, 20 May 2022 12:03:06 +0000 (14:03 +0200)
Say "last" instead of "rightmost" in the documentation for `std::str:rfind`

In the documentation comment for `std::str::rfind`, say "last" instead
of "rightmost" to describe the match that `rfind` finds. This follows the
spirit of #30459, for which `trim_left` and `trim_right` were replaced by
`trim_start` and `trim_end` to be more clear about how they work on
text which is displayed right-to-left.


Trivial merge