diff options
| author | Dan Gohman <dev@sunfishcode.online> | 2022-05-19 15:26:34 -0700 |
|---|---|---|
| committer | Dan Gohman <dev@sunfishcode.online> | 2022-05-19 15:31:17 -0700 |
| commit | b836cf6fb8d30466c057e475397706e827c1d655 (patch) | |
| tree | c38ff974025785cf8c041acb93f4843063d3f669 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | c0672870491e84362f76ddecd50fa229f9b06dff (diff) | |
| download | rust-b836cf6fb8d30466c057e475397706e827c1d655.tar.gz rust-b836cf6fb8d30466c057e475397706e827c1d655.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
