We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90bcb9 commit b975c57Copy full SHA for b975c57
library/core/src/str/mod.rs
@@ -1953,6 +1953,7 @@ impl str {
1953
///
1954
/// ```
1955
/// assert_eq!("cfg".rsplit_once('='), None);
1956
+ /// assert_eq!("cfg=".rsplit_once('='), Some(("cfg", "")));
1957
/// assert_eq!("cfg=foo".rsplit_once('='), Some(("cfg", "foo")));
1958
/// assert_eq!("cfg=foo=bar".rsplit_once('='), Some(("cfg=foo", "bar")));
1959
0 commit comments