{"action":"created","comment":{"url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/comments/71288162","id":71288162,"diff_hunk":"@@ -0,0 +1,31 @@\n+fn main() {\n+\n+    let mut it = 0;\n+    let mut j = 0;\n+    while it < 20 {\n+        j += 1;\n+        it = if is_prime(j) {\n+\n+            println!(\"{}\", j);\n+            it + 1\n+        } else {\n+            it\n+        };\n+    }\n+}\n+\n+fn is_prime(n: u32) -> bool {\n+\n+    let mut i: u32 = 1;","path":"task2/Johann_Arndt/prime.rs","position":19,"original_position":19,"commit_id":"008b6989e33517b1405f9d3adcb2d0f33155163a","original_commit_id":"008b6989e33517b1405f9d3adcb2d0f33155163a","user":{"login":"jonas-schievink","id":1786438,"avatar_url":"https://avatars.githubusercontent.com/u/1786438?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas-schievink","html_url":"https://github.com/jonas-schievink","followers_url":"https://api.github.com/users/jonas-schievink/followers","following_url":"https://api.github.com/users/jonas-schievink/following{/other_user}","gists_url":"https://api.github.com/users/jonas-schievink/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas-schievink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas-schievink/subscriptions","organizations_url":"https://api.github.com/users/jonas-schievink/orgs","repos_url":"https://api.github.com/users/jonas-schievink/repos","events_url":"https://api.github.com/users/jonas-schievink/events{/privacy}","received_events_url":"https://api.github.com/users/jonas-schievink/received_events","type":"User","site_admin":false},"body":"`: u32` sollte nicht nötig sein","created_at":"2016-07-19T07:59:26Z","updated_at":"2016-07-19T07:59:26Z","html_url":"https://github.com/LukasKalbertodt/cgp-learn/pull/70#discussion_r71288162","pull_request_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70","_links":{"self":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/comments/71288162"},"html":{"href":"https://github.com/LukasKalbertodt/cgp-learn/pull/70#discussion_r71288162"},"pull_request":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70","id":77818562,"html_url":"https://github.com/LukasKalbertodt/cgp-learn/pull/70","diff_url":"https://github.com/LukasKalbertodt/cgp-learn/pull/70.diff","patch_url":"https://github.com/LukasKalbertodt/cgp-learn/pull/70.patch","issue_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/70","number":70,"state":"open","locked":false,"title":"task 2","user":{"login":"johann162","id":12832621,"avatar_url":"https://avatars.githubusercontent.com/u/12832621?v=3","gravatar_id":"","url":"https://api.github.com/users/johann162","html_url":"https://github.com/johann162","followers_url":"https://api.github.com/users/johann162/followers","following_url":"https://api.github.com/users/johann162/following{/other_user}","gists_url":"https://api.github.com/users/johann162/gists{/gist_id}","starred_url":"https://api.github.com/users/johann162/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johann162/subscriptions","organizations_url":"https://api.github.com/users/johann162/orgs","repos_url":"https://api.github.com/users/johann162/repos","events_url":"https://api.github.com/users/johann162/events{/privacy}","received_events_url":"https://api.github.com/users/johann162/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-18T14:35:07Z","updated_at":"2016-07-19T07:59:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51c26c7583e750922edd44342c7a5a5352021001","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70/commits","review_comments_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70/comments","review_comment_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/70/comments","statuses_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/statuses/008b6989e33517b1405f9d3adcb2d0f33155163a","head":{"label":"johann162:master","ref":"master","sha":"008b6989e33517b1405f9d3adcb2d0f33155163a","user":{"login":"johann162","id":12832621,"avatar_url":"https://avatars.githubusercontent.com/u/12832621?v=3","gravatar_id":"","url":"https://api.github.com/users/johann162","html_url":"https://github.com/johann162","followers_url":"https://api.github.com/users/johann162/followers","following_url":"https://api.github.com/users/johann162/following{/other_user}","gists_url":"https://api.github.com/users/johann162/gists{/gist_id}","starred_url":"https://api.github.com/users/johann162/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johann162/subscriptions","organizations_url":"https://api.github.com/users/johann162/orgs","repos_url":"https://api.github.com/users/johann162/repos","events_url":"https://api.github.com/users/johann162/events{/privacy}","received_events_url":"https://api.github.com/users/johann162/received_events","type":"User","site_admin":false},"repo":{"id":63585972,"name":"cgp-learn","full_name":"johann162/cgp-learn","owner":{"login":"johann162","id":12832621,"avatar_url":"https://avatars.githubusercontent.com/u/12832621?v=3","gravatar_id":"","url":"https://api.github.com/users/johann162","html_url":"https://github.com/johann162","followers_url":"https://api.github.com/users/johann162/followers","following_url":"https://api.github.com/users/johann162/following{/other_user}","gists_url":"https://api.github.com/users/johann162/gists{/gist_id}","starred_url":"https://api.github.com/users/johann162/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johann162/subscriptions","organizations_url":"https://api.github.com/users/johann162/orgs","repos_url":"https://api.github.com/users/johann162/repos","events_url":"https://api.github.com/users/johann162/events{/privacy}","received_events_url":"https://api.github.com/users/johann162/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johann162/cgp-learn","description":"Temporary test repository to learn working with Git and Rust (German!)","fork":true,"url":"https://api.github.com/repos/johann162/cgp-learn","forks_url":"https://api.github.com/repos/johann162/cgp-learn/forks","keys_url":"https://api.github.com/repos/johann162/cgp-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johann162/cgp-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johann162/cgp-learn/teams","hooks_url":"https://api.github.com/repos/johann162/cgp-learn/hooks","issue_events_url":"https://api.github.com/repos/johann162/cgp-learn/issues/events{/number}","events_url":"https://api.github.com/repos/johann162/cgp-learn/events","assignees_url":"https://api.github.com/repos/johann162/cgp-learn/assignees{/user}","branches_url":"https://api.github.com/repos/johann162/cgp-learn/branches{/branch}","tags_url":"https://api.github.com/repos/johann162/cgp-learn/tags","blobs_url":"https://api.github.com/repos/johann162/cgp-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johann162/cgp-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johann162/cgp-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/johann162/cgp-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johann162/cgp-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/johann162/cgp-learn/languages","stargazers_url":"https://api.github.com/repos/johann162/cgp-learn/stargazers","contributors_url":"https://api.github.com/repos/johann162/cgp-learn/contributors","subscribers_url":"https://api.github.com/repos/johann162/cgp-learn/subscribers","subscription_url":"https://api.github.com/repos/johann162/cgp-learn/subscription","commits_url":"https://api.github.com/repos/johann162/cgp-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/johann162/cgp-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/johann162/cgp-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/johann162/cgp-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/johann162/cgp-learn/contents/{+path}","compare_url":"https://api.github.com/repos/johann162/cgp-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johann162/cgp-learn/merges","archive_url":"https://api.github.com/repos/johann162/cgp-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johann162/cgp-learn/downloads","issues_url":"https://api.github.com/repos/johann162/cgp-learn/issues{/number}","pulls_url":"https://api.github.com/repos/johann162/cgp-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/johann162/cgp-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/johann162/cgp-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johann162/cgp-learn/labels{/name}","releases_url":"https://api.github.com/repos/johann162/cgp-learn/releases{/id}","deployments_url":"https://api.github.com/repos/johann162/cgp-learn/deployments","created_at":"2016-07-18T08:51:30Z","updated_at":"2016-07-18T14:12:08Z","pushed_at":"2016-07-19T07:54:37Z","git_url":"git://github.com/johann162/cgp-learn.git","ssh_url":"git@github.com:johann162/cgp-learn.git","clone_url":"https://github.com/johann162/cgp-learn.git","svn_url":"https://github.com/johann162/cgp-learn","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"LukasKalbertodt:master","ref":"master","sha":"654e9d798fa09b94861a04f87fb64f1503fb76bc","user":{"login":"LukasKalbertodt","id":7419664,"avatar_url":"https://avatars.githubusercontent.com/u/7419664?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasKalbertodt","html_url":"https://github.com/LukasKalbertodt","followers_url":"https://api.github.com/users/LukasKalbertodt/followers","following_url":"https://api.github.com/users/LukasKalbertodt/following{/other_user}","gists_url":"https://api.github.com/users/LukasKalbertodt/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasKalbertodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasKalbertodt/subscriptions","organizations_url":"https://api.github.com/users/LukasKalbertodt/orgs","repos_url":"https://api.github.com/users/LukasKalbertodt/repos","events_url":"https://api.github.com/users/LukasKalbertodt/events{/privacy}","received_events_url":"https://api.github.com/users/LukasKalbertodt/received_events","type":"User","site_admin":false},"repo":{"id":63539714,"name":"cgp-learn","full_name":"LukasKalbertodt/cgp-learn","owner":{"login":"LukasKalbertodt","id":7419664,"avatar_url":"https://avatars.githubusercontent.com/u/7419664?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasKalbertodt","html_url":"https://github.com/LukasKalbertodt","followers_url":"https://api.github.com/users/LukasKalbertodt/followers","following_url":"https://api.github.com/users/LukasKalbertodt/following{/other_user}","gists_url":"https://api.github.com/users/LukasKalbertodt/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasKalbertodt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasKalbertodt/subscriptions","organizations_url":"https://api.github.com/users/LukasKalbertodt/orgs","repos_url":"https://api.github.com/users/LukasKalbertodt/repos","events_url":"https://api.github.com/users/LukasKalbertodt/events{/privacy}","received_events_url":"https://api.github.com/users/LukasKalbertodt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LukasKalbertodt/cgp-learn","description":"Temporary test repository to learn working with Git and Rust (German!)","fork":false,"url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn","forks_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/forks","keys_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/teams","hooks_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/hooks","issue_events_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/events{/number}","events_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/events","assignees_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/assignees{/user}","branches_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/branches{/branch}","tags_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/tags","blobs_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/languages","stargazers_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/stargazers","contributors_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/contributors","subscribers_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/subscribers","subscription_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/subscription","commits_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/contents/{+path}","compare_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/merges","archive_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/downloads","issues_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues{/number}","pulls_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/labels{/name}","releases_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/releases{/id}","deployments_url":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/deployments","created_at":"2016-07-17T15:48:13Z","updated_at":"2016-07-18T14:26:46Z","pushed_at":"2016-07-19T07:57:50Z","git_url":"git://github.com/LukasKalbertodt/cgp-learn.git","ssh_url":"git@github.com:LukasKalbertodt/cgp-learn.git","clone_url":"https://github.com/LukasKalbertodt/cgp-learn.git","svn_url":"https://github.com/LukasKalbertodt/cgp-learn","homepage":null,"size":3448,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":14,"forks":23,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70"},"html":{"href":"https://github.com/LukasKalbertodt/cgp-learn/pull/70"},"issue":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/70"},"comments":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/LukasKalbertodt/cgp-learn/statuses/008b6989e33517b1405f9d3adcb2d0f33155163a"}}}}
{"actor":{"display_login":"jonas-schievink"}}