mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 18:37:47 +00:00
Sync str::rsplit_once example with str::split_once
This adds `"cfg=".rsplit_once('=')` case to `rsplit_once` example, bringing it in sync with example for `split_once`. For consistency and to make life easier for ones who want to ensure bahaviour of this specific edge case.