{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/49854","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/49854/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/49854/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/49854/events","html_url":"https://github.com/rust-lang/rust/issues/49854","id":313091958,"number":49854,"title":"Missing `impl<'a> PartialEq<&'a str> for OsString`","user":{"login":"Kixunil","id":1178779,"avatar_url":"https://avatars2.githubusercontent.com/u/1178779?v=4","gravatar_id":"","url":"https://api.github.com/users/Kixunil","html_url":"https://github.com/Kixunil","followers_url":"https://api.github.com/users/Kixunil/followers","following_url":"https://api.github.com/users/Kixunil/following{/other_user}","gists_url":"https://api.github.com/users/Kixunil/gists{/gist_id}","starred_url":"https://api.github.com/users/Kixunil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kixunil/subscriptions","organizations_url":"https://api.github.com/users/Kixunil/orgs","repos_url":"https://api.github.com/users/Kixunil/repos","events_url":"https://api.github.com/users/Kixunil/events{/privacy}","received_events_url":"https://api.github.com/users/Kixunil/received_events","type":"User","site_admin":false},"labels":[{"id":630652267,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-feature-request","name":"C-feature-request","color":"f5f1fd","default":false},{"id":211668062,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-10T21:15:24Z","updated_at":"2018-04-19T07:43:46Z","closed_at":null,"author_association":"NONE","body":"I've just got very surprised to find out that `my_os_string == \"foo\"` doesn't compile, but `my_os_string == *\"foo\"` does. After some investigation, I found that `impl<'a> PartialEq<&'a str> for OsString` is missing. Similar impl is present for `String` though.\r\n\r\nI believe it'd be nice to implement it."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/382641896","html_url":"https://github.com/rust-lang/rust/issues/49854#issuecomment-382641896","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/49854","id":382641896,"user":{"login":"Kixunil","id":1178779,"avatar_url":"https://avatars2.githubusercontent.com/u/1178779?v=4","gravatar_id":"","url":"https://api.github.com/users/Kixunil","html_url":"https://github.com/Kixunil","followers_url":"https://api.github.com/users/Kixunil/followers","following_url":"https://api.github.com/users/Kixunil/following{/other_user}","gists_url":"https://api.github.com/users/Kixunil/gists{/gist_id}","starred_url":"https://api.github.com/users/Kixunil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kixunil/subscriptions","organizations_url":"https://api.github.com/users/Kixunil/orgs","repos_url":"https://api.github.com/users/Kixunil/repos","events_url":"https://api.github.com/users/Kixunil/events{/privacy}","received_events_url":"https://api.github.com/users/Kixunil/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T07:43:46Z","updated_at":"2018-04-19T07:43:46Z","author_association":"NONE","body":"@csmoe I've soled my problem immediately. I filed issue because I think we could help others by implementing the trait."}}
{"actor":{"display_login":"Kixunil"}}