{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/23268","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/23268/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/23268/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/23268/events","html_url":"https://github.com/rust-lang/rust/pull/23268","id":60591003,"number":23268,"title":"std: Deprecate the `str::CharRange` type","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-11T00:17:07Z","updated_at":"2015-03-11T00:17:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/23268","html_url":"https://github.com/rust-lang/rust/pull/23268","diff_url":"https://github.com/rust-lang/rust/pull/23268.diff","patch_url":"https://github.com/rust-lang/rust/pull/23268.patch"},"body":"This struct and the associated functions `char_range_at` and\r\n`char_range_at_reverse` have been unstable for some time now, and it looks like\r\nwith a combination of `char_at` plus `char_at_reverse` plus `len_utf8` that the\r\nstructure isn't necessary at this time.\r\n\r\nThe structure and perhaps more fanciful unicode processing support could be\r\nadded at a later date, but for now the types are being deprecated and slated for\r\nremoval.\r\n\r\nAny code currently using `CharRange` can instead use the `char_at` and\r\n`char_at_reverse` methods plus the `len_utf8` method on `char` as a replacement.\r\n\r\nCloses #9387\r\n[breaking-change]"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/78176880","html_url":"https://github.com/rust-lang/rust/pull/23268#issuecomment-78176880","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/23268","id":78176880,"user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T00:17:17Z","updated_at":"2015-03-11T00:17:17Z","body":"r? @nikomatsakis\n\n(rust_highfive has picked a reviewer for you, use r? to override)"}}