{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift/pulls/comments/47148843","id":47148843,"diff_hunk":"@@ -38,11 +38,11 @@ public struct Zip2Generator<\n   ///   since the copy was made, and no preceding call to `self.next()`\n   ///   has returned `nil`.\n   public mutating func next() -> Element? {\n-    // The next() function needs to track if it has reached the end.  If we\n-    // didn't, and the first sequence is shorter than the second, then, when we\n+    // The next() function needs to track if it has reached the end. If we\n+    // didn't, and the first sequence is longer than the second, then when we","path":"stdlib/public/core/Zip.swift","position":7,"original_position":7,"commit_id":"e7fabae50c10977b7fdac24fd883d8620a786b5b","original_commit_id":"e7fabae50c10977b7fdac24fd883d8620a786b5b","user":{"login":"moiseev","id":64011,"avatar_url":"https://avatars.githubusercontent.com/u/64011?v=3","gravatar_id":"","url":"https://api.github.com/users/moiseev","html_url":"https://github.com/moiseev","followers_url":"https://api.github.com/users/moiseev/followers","following_url":"https://api.github.com/users/moiseev/following{/other_user}","gists_url":"https://api.github.com/users/moiseev/gists{/gist_id}","starred_url":"https://api.github.com/users/moiseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moiseev/subscriptions","organizations_url":"https://api.github.com/users/moiseev/orgs","repos_url":"https://api.github.com/users/moiseev/repos","events_url":"https://api.github.com/users/moiseev/events{/privacy}","received_events_url":"https://api.github.com/users/moiseev/received_events","type":"User","site_admin":false},"body":"Good catch!","created_at":"2015-12-09T20:43:29Z","updated_at":"2015-12-09T20:43:29Z","html_url":"https://github.com/apple/swift/pull/366#discussion_r47148843","pull_request_url":"https://api.github.com/repos/apple/swift/pulls/366","_links":{"self":{"href":"https://api.github.com/repos/apple/swift/pulls/comments/47148843"},"html":{"href":"https://github.com/apple/swift/pull/366#discussion_r47148843"},"pull_request":{"href":"https://api.github.com/repos/apple/swift/pulls/366"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/366","id":53071143,"html_url":"https://github.com/apple/swift/pull/366","diff_url":"https://github.com/apple/swift/pull/366.diff","patch_url":"https://github.com/apple/swift/pull/366.patch","issue_url":"https://api.github.com/repos/apple/swift/issues/366","number":366,"state":"open","locked":false,"title":"Fix comment in Zip2","user":{"login":"PatrickPijnappel","id":1519942,"avatar_url":"https://avatars.githubusercontent.com/u/1519942?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickPijnappel","html_url":"https://github.com/PatrickPijnappel","followers_url":"https://api.github.com/users/PatrickPijnappel/followers","following_url":"https://api.github.com/users/PatrickPijnappel/following{/other_user}","gists_url":"https://api.github.com/users/PatrickPijnappel/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickPijnappel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickPijnappel/subscriptions","organizations_url":"https://api.github.com/users/PatrickPijnappel/orgs","repos_url":"https://api.github.com/users/PatrickPijnappel/repos","events_url":"https://api.github.com/users/PatrickPijnappel/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickPijnappel/received_events","type":"User","site_admin":false},"body":"If we exhaust the second sequence first, that means the first sequence is longer.","created_at":"2015-12-09T03:05:15Z","updated_at":"2015-12-09T20:43:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c90294a50d17b8dd9e5623819a4e9baf89c394fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift/pulls/366/commits","review_comments_url":"https://api.github.com/repos/apple/swift/pulls/366/comments","review_comment_url":"https://api.github.com/repos/apple/swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift/issues/366/comments","statuses_url":"https://api.github.com/repos/apple/swift/statuses/e7fabae50c10977b7fdac24fd883d8620a786b5b","head":{"label":"PatrickPijnappel:patch-2","ref":"patch-2","sha":"e7fabae50c10977b7fdac24fd883d8620a786b5b","user":{"login":"PatrickPijnappel","id":1519942,"avatar_url":"https://avatars.githubusercontent.com/u/1519942?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickPijnappel","html_url":"https://github.com/PatrickPijnappel","followers_url":"https://api.github.com/users/PatrickPijnappel/followers","following_url":"https://api.github.com/users/PatrickPijnappel/following{/other_user}","gists_url":"https://api.github.com/users/PatrickPijnappel/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickPijnappel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickPijnappel/subscriptions","organizations_url":"https://api.github.com/users/PatrickPijnappel/orgs","repos_url":"https://api.github.com/users/PatrickPijnappel/repos","events_url":"https://api.github.com/users/PatrickPijnappel/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickPijnappel/received_events","type":"User","site_admin":false},"repo":{"id":47489951,"name":"swift","full_name":"PatrickPijnappel/swift","owner":{"login":"PatrickPijnappel","id":1519942,"avatar_url":"https://avatars.githubusercontent.com/u/1519942?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickPijnappel","html_url":"https://github.com/PatrickPijnappel","followers_url":"https://api.github.com/users/PatrickPijnappel/followers","following_url":"https://api.github.com/users/PatrickPijnappel/following{/other_user}","gists_url":"https://api.github.com/users/PatrickPijnappel/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickPijnappel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickPijnappel/subscriptions","organizations_url":"https://api.github.com/users/PatrickPijnappel/orgs","repos_url":"https://api.github.com/users/PatrickPijnappel/repos","events_url":"https://api.github.com/users/PatrickPijnappel/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickPijnappel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PatrickPijnappel/swift","description":"The Swift Programming Language","fork":true,"url":"https://api.github.com/repos/PatrickPijnappel/swift","forks_url":"https://api.github.com/repos/PatrickPijnappel/swift/forks","keys_url":"https://api.github.com/repos/PatrickPijnappel/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PatrickPijnappel/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PatrickPijnappel/swift/teams","hooks_url":"https://api.github.com/repos/PatrickPijnappel/swift/hooks","issue_events_url":"https://api.github.com/repos/PatrickPijnappel/swift/issues/events{/number}","events_url":"https://api.github.com/repos/PatrickPijnappel/swift/events","assignees_url":"https://api.github.com/repos/PatrickPijnappel/swift/assignees{/user}","branches_url":"https://api.github.com/repos/PatrickPijnappel/swift/branches{/branch}","tags_url":"https://api.github.com/repos/PatrickPijnappel/swift/tags","blobs_url":"https://api.github.com/repos/PatrickPijnappel/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PatrickPijnappel/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PatrickPijnappel/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/PatrickPijnappel/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PatrickPijnappel/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/PatrickPijnappel/swift/languages","stargazers_url":"https://api.github.com/repos/PatrickPijnappel/swift/stargazers","contributors_url":"https://api.github.com/repos/PatrickPijnappel/swift/contributors","subscribers_url":"https://api.github.com/repos/PatrickPijnappel/swift/subscribers","subscription_url":"https://api.github.com/repos/PatrickPijnappel/swift/subscription","commits_url":"https://api.github.com/repos/PatrickPijnappel/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/PatrickPijnappel/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/PatrickPijnappel/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/PatrickPijnappel/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/PatrickPijnappel/swift/contents/{+path}","compare_url":"https://api.github.com/repos/PatrickPijnappel/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PatrickPijnappel/swift/merges","archive_url":"https://api.github.com/repos/PatrickPijnappel/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PatrickPijnappel/swift/downloads","issues_url":"https://api.github.com/repos/PatrickPijnappel/swift/issues{/number}","pulls_url":"https://api.github.com/repos/PatrickPijnappel/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/PatrickPijnappel/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/PatrickPijnappel/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PatrickPijnappel/swift/labels{/name}","releases_url":"https://api.github.com/repos/PatrickPijnappel/swift/releases{/id}","created_at":"2015-12-06T08:58:48Z","updated_at":"2015-12-06T08:59:04Z","pushed_at":"2015-12-09T03:03:02Z","git_url":"git://github.com/PatrickPijnappel/swift.git","ssh_url":"git@github.com:PatrickPijnappel/swift.git","clone_url":"https://github.com/PatrickPijnappel/swift.git","svn_url":"https://github.com/PatrickPijnappel/swift","homepage":"","size":58703,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"0287ac7fd94af0fb860b5444e1bd26faded88e39","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":44838949,"name":"swift","full_name":"apple/swift","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift","description":"The Swift Programming Language","fork":false,"url":"https://api.github.com/repos/apple/swift","forks_url":"https://api.github.com/repos/apple/swift/forks","keys_url":"https://api.github.com/repos/apple/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift/teams","hooks_url":"https://api.github.com/repos/apple/swift/hooks","issue_events_url":"https://api.github.com/repos/apple/swift/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift/events","assignees_url":"https://api.github.com/repos/apple/swift/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift/tags","blobs_url":"https://api.github.com/repos/apple/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift/languages","stargazers_url":"https://api.github.com/repos/apple/swift/stargazers","contributors_url":"https://api.github.com/repos/apple/swift/contributors","subscribers_url":"https://api.github.com/repos/apple/swift/subscribers","subscription_url":"https://api.github.com/repos/apple/swift/subscription","commits_url":"https://api.github.com/repos/apple/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift/merges","archive_url":"https://api.github.com/repos/apple/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift/downloads","issues_url":"https://api.github.com/repos/apple/swift/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift/releases{/id}","created_at":"2015-10-23T21:15:07Z","updated_at":"2015-12-09T20:32:44Z","pushed_at":"2015-12-09T20:31:14Z","git_url":"git://github.com/apple/swift.git","ssh_url":"git@github.com:apple/swift.git","clone_url":"https://github.com/apple/swift.git","svn_url":"https://github.com/apple/swift","homepage":"","size":73076,"stargazers_count":21862,"watchers_count":21862,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2558,"mirror_url":null,"open_issues_count":57,"forks":2558,"open_issues":57,"watchers":21862,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift/pulls/366"},"html":{"href":"https://github.com/apple/swift/pull/366"},"issue":{"href":"https://api.github.com/repos/apple/swift/issues/366"},"comments":{"href":"https://api.github.com/repos/apple/swift/issues/366/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift/pulls/366/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift/pulls/366/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift/statuses/e7fabae50c10977b7fdac24fd883d8620a786b5b"}}}}