]> git.lizzy.rs Git - rust.git/commit
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)
commit87ecf5442ced38a6253e670dd6d87c0c334b21fb
tree9e43199505bf86e98bdb2dcd0acc0abd4def8352
parent1029775ad5f15d2200e087ebb4a867cf30dbbb25
parentfbd3c92a885b02a5397eaf65d36beae8e1ed999c
Auto merge of #51178 - GabrielMajeri:os-str-compare, r=SimonSapin

Implement PartialEq between &str and OsString

This fixes #49854.

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