]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #51178 - GabrielMajeri:os-str-compare, r=SimonSapin
authorbors <bors@rust-lang.org>
Sat, 30 Jun 2018 04:03:14 +0000 (04:03 +0000)
committerbors <bors@rust-lang.org>
Sat, 30 Jun 2018 04:03:14 +0000 (04:03 +0000)
Implement PartialEq between &str and OsString

This fixes #49854.

It allows equality comparison between `OsString` values and `str` references, such as `os_string == "something"`.


Trivial merge