Missing impl<'a> PartialEq<&'a str> for OsString
#49854
Labels
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
I've just got very surprised to find out that
my_os_string == "foo"
doesn't compile, butmy_os_string == *"foo"
does. After some investigation, I found thatimpl<'a> PartialEq<&'a str> for OsString
is missing. Similar impl is present forString
though.I believe it'd be nice to implement it.
The text was updated successfully, but these errors were encountered: