mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 01:44:15 +00:00
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.