{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1434","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1434/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1434/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1434/events","html_url":"https://github.com/rust-lang/rfcs/pull/1434","id":124136458,"number":1434,"title":"'Contains' method for ranges","user":{"login":"Ticki","id":13349091,"avatar_url":"https://avatars.githubusercontent.com/u/13349091?v=3","gravatar_id":"","url":"https://api.github.com/users/Ticki","html_url":"https://github.com/Ticki","followers_url":"https://api.github.com/users/Ticki/followers","following_url":"https://api.github.com/users/Ticki/following{/other_user}","gists_url":"https://api.github.com/users/Ticki/gists{/gist_id}","starred_url":"https://api.github.com/users/Ticki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ticki/subscriptions","organizations_url":"https://api.github.com/users/Ticki/orgs","repos_url":"https://api.github.com/users/Ticki/repos","events_url":"https://api.github.com/users/Ticki/events{/privacy}","received_events_url":"https://api.github.com/users/Ticki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-12-28T22:38:48Z","updated_at":"2016-01-11T14:02:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1434","html_url":"https://github.com/rust-lang/rfcs/pull/1434","diff_url":"https://github.com/rust-lang/rfcs/pull/1434.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1434.patch"},"body":"[Rendered.](https://github.com/Ticki/rfcs/blob/contains/text/0000-contains-method-for-ranges.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/170558600","html_url":"https://github.com/rust-lang/rfcs/pull/1434#issuecomment-170558600","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1434","id":170558600,"user":{"login":"ehiggs","id":28823,"avatar_url":"https://avatars.githubusercontent.com/u/28823?v=3","gravatar_id":"","url":"https://api.github.com/users/ehiggs","html_url":"https://github.com/ehiggs","followers_url":"https://api.github.com/users/ehiggs/followers","following_url":"https://api.github.com/users/ehiggs/following{/other_user}","gists_url":"https://api.github.com/users/ehiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/ehiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehiggs/subscriptions","organizations_url":"https://api.github.com/users/ehiggs/orgs","repos_url":"https://api.github.com/users/ehiggs/repos","events_url":"https://api.github.com/users/ehiggs/events{/privacy}","received_events_url":"https://api.github.com/users/ehiggs/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T14:02:12Z","updated_at":"2016-01-11T14:02:12Z","body":"The `trait Contains` from the alternatives section is a good idea. `Range` should implement a `Contains` trait and maybe get containers to implement it too. This would be part of work to get more traits into `std` so programs can rely on those without worrying about where the implementation is coming from.\r\n\r\nWhere would `trait Contains` go? `std::Ops`?"}}