GitHub PullRequestEvent at 2014-11-15 03:48:10
Repository: rust
Actor: huonw
Payload: {"action":"opened","number":18966,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/18966","id":24484462,"html_url":"https://github.com/rust-lang/rust/pull/18966","diff_url":"https://github.com/rust-lang/rust/pull/18966.diff","patch_url":"https://github.com/rust-lang/rust/pull/18966.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/18966","number":18966,"state":"open","locked":false,"title":"Add methods to go from a slice iterators to a slice.","user":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"body":"A slice iterator is isomorphic to a slice, just with a slightly\r\ndifferent form: storing start and end pointers rather than start pointer\r\nand length. This patch reflects this by making converting between them\r\nas easy as `iter.as_slice()` (or even `iter[]` if the shorter lifetime\r\nis ok). That is, `slice.iter().as_slice() == slice`.\r\n\r\nr? @aturon","created_at":"2014-11-15T03:48:08Z","updated_at":"2014-11-15T03:48:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/18966/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/18966/comments","review_comment_url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/18966/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/6e4737c16e9d9dd61b5294be38904ebbe3b318be","head":{"label":"huonw:iter2slice","ref":"iter2slice","sha":"6e4737c16e9d9dd61b5294be38904ebbe3b318be","user":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"repo":{"id":7084229,"name":"rust","full_name":"huonw/rust","owner":{"login":"huonw","id":1203825,"avatar_url":"https://avatars.githubusercontent.com/u/1203825?v=3","gravatar_id":"","url":"https://api.github.com/users/huonw","html_url":"https://github.com/huonw","followers_url":"https://api.github.com/users/huonw/followers","following_url":"https://api.github.com/users/huonw/following{/other_user}","gists_url":"https://api.github.com/users/huonw/gists{/gist_id}","starred_url":"https://api.github.com/users/huonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huonw/subscriptions","organizations_url":"https://api.github.com/users/huonw/orgs","repos_url":"https://api.github.com/users/huonw/repos","events_url":"https://api.github.com/users/huonw/events{/privacy}","received_events_url":"https://api.github.com/users/huonw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/huonw/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/huonw/rust","forks_url":"https://api.github.com/repos/huonw/rust/forks","keys_url":"https://api.github.com/repos/huonw/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/huonw/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/huonw/rust/teams","hooks_url":"https://api.github.com/repos/huonw/rust/hooks","issue_events_url":"https://api.github.com/repos/huonw/rust/issues/events{/number}","events_url":"https://api.github.com/repos/huonw/rust/events","assignees_url":"https://api.github.com/repos/huonw/rust/assignees{/user}","branches_url":"https://api.github.com/repos/huonw/rust/branches{/branch}","tags_url":"https://api.github.com/repos/huonw/rust/tags","blobs_url":"https://api.github.com/repos/huonw/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/huonw/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/huonw/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/huonw/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/huonw/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/huonw/rust/languages","stargazers_url":"https://api.github.com/repos/huonw/rust/stargazers","contributors_url":"https://api.github.com/repos/huonw/rust/contributors","subscribers_url":"https://api.github.com/repos/huonw/rust/subscribers","subscription_url":"https://api.github.com/repos/huonw/rust/subscription","commits_url":"https://api.github.com/repos/huonw/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/huonw/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/huonw/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/huonw/rust/issues/comments/{number}","contents_url":"https://api.github.com/repos/huonw/rust/contents/{+path}","compare_url":"https://api.github.com/repos/huonw/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/huonw/rust/merges","archive_url":"https://api.github.com/repos/huonw/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/huonw/rust/downloads","issues_url":"https://api.github.com/repos/huonw/rust/issues{/number}","pulls_url":"https://api.github.com/repos/huonw/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/huonw/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/huonw/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/huonw/rust/labels{/name}","releases_url":"https://api.github.com/repos/huonw/rust/releases{/id}","created_at":"2012-12-09T22:12:58Z","updated_at":"2014-06-27T06:46:37Z","pushed_at":"2014-11-15T03:47:56Z","git_url":"git://github.com/huonw/rust.git","ssh_url":"git@github.com:huonw/rust.git","clone_url":"https://github.com/huonw/rust.git","svn_url":"https://github.com/huonw/rust","homepage":"http://www.rust-lang.org","size":189791,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"d91a015ab4c538f02fbbc03dfb08193a381c2e3b","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":724712,"name":"rust","full_name":"rust-lang/rust","owner":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars.githubusercontent.com/u/5430905?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang","html_url":"https://github.com/rust-lang","followers_url":"https://api.github.com/users/rust-lang/followers","following_url":"https://api.github.com/users/rust-lang/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang/subscriptions","organizations_url":"https://api.github.com/users/rust-lang/orgs","repos_url":"https://api.github.com/users/rust-lang/repos","events_url":"https://api.github.com/users/rust-lang/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang/rust","description":"a safe, concurrent, practical language","fork":false,"url":"https://api.github.com/repos/rust-lang/rust","forks_url":"https://api.github.com/repos/rust-lang/rust/forks","keys_url":"https://api.github.com/repos/rust-lang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang/rust/teams","hooks_url":"https://api.github.com/repos/rust-lang/rust/hooks","issue_events_url":"https://api.github.com/repos/rust-lang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang/rust/events","assignees_url":"https://api.github.com/repos/rust-lang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang/rust/tags","blobs_url":"https://api.github.com/repos/rust-lang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang/rust/languages","stargazers_url":"https://api.github.com/repos/rust-lang/rust/stargazers","contributors_url":"https://api.github.com/repos/rust-lang/rust/contributors","subscribers_url":"https://api.github.com/repos/rust-lang/rust/subscribers","subscription_url":"https://api.github.com/repos/rust-lang/rust/subscription","commits_url":"https://api.github.com/repos/rust-lang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang/rust/issues/comments/{number}","contents_url":"https://api.github.com/repos/rust-lang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang/rust/merges","archive_url":"https://api.github.com/repos/rust-lang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang/rust/downloads","issues_url":"https://api.github.com/repos/rust-lang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang/rust/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang/rust/releases{/id}","created_at":"2010-06-16T20:39:03Z","updated_at":"2014-11-15T03:13:31Z","pushed_at":"2014-11-15T03:32:19Z","git_url":"git://github.com/rust-lang/rust.git","ssh_url":"git@github.com:rust-lang/rust.git","clone_url":"https://github.com/rust-lang/rust.git","svn_url":"https://github.com/rust-lang/rust","homepage":"http://www.rust-lang.org","size":526531,"stargazers_count":7378,"watchers_count":7378,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1426,"mirror_url":null,"open_issues_count":2108,"forks":1426,"open_issues":2108,"watchers":7378,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/18966"},"html":{"href":"https://github.com/rust-lang/rust/pull/18966"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/18966"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/18966/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/18966/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/18966/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/6e4737c16e9d9dd61b5294be38904ebbe3b318be"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":125,"deletions":0,"changed_files":2}}