{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/48656","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/48656/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/48656/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/48656/events","html_url":"https://github.com/rust-lang/rust/issues/48656","id":301647081,"node_id":"MDU6SXNzdWUzMDE2NDcwODE=","number":48656,"title":"Tracking issue for str::split_ascii_whitespace","user":{"login":"clarcharr","id":15850505,"node_id":"MDQ6VXNlcjE1ODUwNTA1","avatar_url":"https://avatars1.githubusercontent.com/u/15850505?v=4","gravatar_id":"","url":"https://api.github.com/users/clarcharr","html_url":"https://github.com/clarcharr","followers_url":"https://api.github.com/users/clarcharr/followers","following_url":"https://api.github.com/users/clarcharr/following{/other_user}","gists_url":"https://api.github.com/users/clarcharr/gists{/gist_id}","starred_url":"https://api.github.com/users/clarcharr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarcharr/subscriptions","organizations_url":"https://api.github.com/users/clarcharr/orgs","repos_url":"https://api.github.com/users/clarcharr/repos","events_url":"https://api.github.com/users/clarcharr/events{/privacy}","received_events_url":"https://api.github.com/users/clarcharr/received_events","type":"User","site_admin":false},"labels":[{"id":889209675,"node_id":"MDU6TGFiZWw4ODkyMDk2NzU=","url":"https://api.github.com/repos/rust-lang/rust/labels/A-iterators","name":"A-iterators","color":"f7e101","default":false},{"id":650846969,"node_id":"MDU6TGFiZWw2NTA4NDY5Njk=","url":"https://api.github.com/repos/rust-lang/rust/labels/C-tracking-issue","name":"C-tracking-issue","color":"f5f1fd","default":false},{"id":211668062,"node_id":"MDU6TGFiZWwyMTE2NjgwNjI=","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":2,"created_at":"2018-03-02T04:08:41Z","updated_at":"2018-11-28T09:07:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Implemented in https://github.com/rust-lang/rust/pull/49987:\r\n\r\n```rust\r\nimpl str {\r\n    pub fn split_ascii_whitespace(&self) -> SplitAsciiWhitespace {…}\r\n}\r\n\r\n#[derive(Clone, Debug)]\r\npub struct SplitAsciiWhitespace<'a> {…}\r\n\r\nimpl<'a> Iterator for SplitAsciiWhitespace<'a> {\r\n    type Item = &'a str;\r\n    …\r\n}\r\nimpl<'a> DoubleEndedIterator for SplitAsciiWhitespace<'a> {…}\r\nimpl<'a> FusedIterator for SplitAsciiWhitespace<'a> {}\r\n```\r\n\r\nOriginal feature request:\r\n\r\n----\r\n\r\nConsidering how `is_ascii_whitespace` is now available on libcore, it makes sense to provide this too.\r\n\r\nI'll provide a PR at some point if this seems reasonable; a lot of code that needs to split on whitespace only needs to split on ASCII whitespace, which is considerably faster."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/442372750","html_url":"https://github.com/rust-lang/rust/issues/48656#issuecomment-442372750","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/48656","id":442372750,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM3Mjc1MA==","user":{"login":"SimonSapin","id":291359,"node_id":"MDQ6VXNlcjI5MTM1OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/291359?v=4","gravatar_id":"","url":"https://api.github.com/users/SimonSapin","html_url":"https://github.com/SimonSapin","followers_url":"https://api.github.com/users/SimonSapin/followers","following_url":"https://api.github.com/users/SimonSapin/following{/other_user}","gists_url":"https://api.github.com/users/SimonSapin/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonSapin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonSapin/subscriptions","organizations_url":"https://api.github.com/users/SimonSapin/orgs","repos_url":"https://api.github.com/users/SimonSapin/repos","events_url":"https://api.github.com/users/SimonSapin/events{/privacy}","received_events_url":"https://api.github.com/users/SimonSapin/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T09:07:58Z","updated_at":"2018-11-28T09:07:58Z","author_association":"CONTRIBUTOR","body":"Let’s.\r\n\r\n@rfcbot fcp merge"}}
{"actor":{"display_login":"SimonSapin"}}