We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8ecbbd commit 075625fCopy full SHA for 075625f
1 file changed
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