{"action":"created","comment":{"url":"https://api.github.com/repos/gkoz/gir/pulls/comments/33037583","id":33037583,"diff_hunk":"@@ -0,0 +1,105 @@\n+use std::iter::*;\n+use std::fmt::Debug;\n+\n+/// Chunk of code text\n+#[derive(Debug)]\n+pub enum Chunk {\n+    Text(String),\n+    EndLine,\n+}","path":"src/chunk.rs","position":9,"original_position":9,"commit_id":"c2dffe732d9558c501f19eeb41ec2afa6f6c2c58","original_commit_id":"c2dffe732d9558c501f19eeb41ec2afa6f6c2c58","user":{"login":"EPashkin","id":584258,"avatar_url":"https://avatars.githubusercontent.com/u/584258?v=3","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"body":"You about https://github.com/nrc/rustfmt?\r\nOk. Then it will be even easier.","created_at":"2015-06-23T13:02:19Z","updated_at":"2015-06-23T13:02:19Z","html_url":"https://github.com/gkoz/gir/pull/4#discussion_r33037583","pull_request_url":"https://api.github.com/repos/gkoz/gir/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/gkoz/gir/pulls/comments/33037583"},"html":{"href":"https://github.com/gkoz/gir/pull/4#discussion_r33037583"},"pull_request":{"href":"https://api.github.com/repos/gkoz/gir/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/gkoz/gir/pulls/4","id":38322478,"html_url":"https://github.com/gkoz/gir/pull/4","diff_url":"https://github.com/gkoz/gir/pull/4.diff","patch_url":"https://github.com/gkoz/gir/pull/4.patch","issue_url":"https://api.github.com/repos/gkoz/gir/issues/4","number":4,"state":"open","locked":false,"title":"Create empty widget file","user":{"login":"EPashkin","id":584258,"avatar_url":"https://avatars.githubusercontent.com/u/584258?v=3","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"body":"Preview PR, don't merge now.","created_at":"2015-06-23T10:35:49Z","updated_at":"2015-06-23T13:02:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e426254030faca712dc0368899ea0e466ed7c15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gkoz/gir/pulls/4/commits","review_comments_url":"https://api.github.com/repos/gkoz/gir/pulls/4/comments","review_comment_url":"https://api.github.com/repos/gkoz/gir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gkoz/gir/issues/4/comments","statuses_url":"https://api.github.com/repos/gkoz/gir/statuses/c2dffe732d9558c501f19eeb41ec2afa6f6c2c58","head":{"label":"EPashkin:create_empty_widget_file","ref":"create_empty_widget_file","sha":"c2dffe732d9558c501f19eeb41ec2afa6f6c2c58","user":{"login":"EPashkin","id":584258,"avatar_url":"https://avatars.githubusercontent.com/u/584258?v=3","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"repo":{"id":37834474,"name":"gir","full_name":"EPashkin/gir","owner":{"login":"EPashkin","id":584258,"avatar_url":"https://avatars.githubusercontent.com/u/584258?v=3","gravatar_id":"","url":"https://api.github.com/users/EPashkin","html_url":"https://github.com/EPashkin","followers_url":"https://api.github.com/users/EPashkin/followers","following_url":"https://api.github.com/users/EPashkin/following{/other_user}","gists_url":"https://api.github.com/users/EPashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/EPashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EPashkin/subscriptions","organizations_url":"https://api.github.com/users/EPashkin/orgs","repos_url":"https://api.github.com/users/EPashkin/repos","events_url":"https://api.github.com/users/EPashkin/events{/privacy}","received_events_url":"https://api.github.com/users/EPashkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EPashkin/gir","description":"","fork":true,"url":"https://api.github.com/repos/EPashkin/gir","forks_url":"https://api.github.com/repos/EPashkin/gir/forks","keys_url":"https://api.github.com/repos/EPashkin/gir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EPashkin/gir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EPashkin/gir/teams","hooks_url":"https://api.github.com/repos/EPashkin/gir/hooks","issue_events_url":"https://api.github.com/repos/EPashkin/gir/issues/events{/number}","events_url":"https://api.github.com/repos/EPashkin/gir/events","assignees_url":"https://api.github.com/repos/EPashkin/gir/assignees{/user}","branches_url":"https://api.github.com/repos/EPashkin/gir/branches{/branch}","tags_url":"https://api.github.com/repos/EPashkin/gir/tags","blobs_url":"https://api.github.com/repos/EPashkin/gir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EPashkin/gir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EPashkin/gir/git/refs{/sha}","trees_url":"https://api.github.com/repos/EPashkin/gir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EPashkin/gir/statuses/{sha}","languages_url":"https://api.github.com/repos/EPashkin/gir/languages","stargazers_url":"https://api.github.com/repos/EPashkin/gir/stargazers","contributors_url":"https://api.github.com/repos/EPashkin/gir/contributors","subscribers_url":"https://api.github.com/repos/EPashkin/gir/subscribers","subscription_url":"https://api.github.com/repos/EPashkin/gir/subscription","commits_url":"https://api.github.com/repos/EPashkin/gir/commits{/sha}","git_commits_url":"https://api.github.com/repos/EPashkin/gir/git/commits{/sha}","comments_url":"https://api.github.com/repos/EPashkin/gir/comments{/number}","issue_comment_url":"https://api.github.com/repos/EPashkin/gir/issues/comments{/number}","contents_url":"https://api.github.com/repos/EPashkin/gir/contents/{+path}","compare_url":"https://api.github.com/repos/EPashkin/gir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EPashkin/gir/merges","archive_url":"https://api.github.com/repos/EPashkin/gir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EPashkin/gir/downloads","issues_url":"https://api.github.com/repos/EPashkin/gir/issues{/number}","pulls_url":"https://api.github.com/repos/EPashkin/gir/pulls{/number}","milestones_url":"https://api.github.com/repos/EPashkin/gir/milestones{/number}","notifications_url":"https://api.github.com/repos/EPashkin/gir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EPashkin/gir/labels{/name}","releases_url":"https://api.github.com/repos/EPashkin/gir/releases{/id}","created_at":"2015-06-22T02:31:02Z","updated_at":"2015-06-22T02:32:00Z","pushed_at":"2015-06-23T10:34:43Z","git_url":"git://github.com/EPashkin/gir.git","ssh_url":"git@github.com:EPashkin/gir.git","clone_url":"https://github.com/EPashkin/gir.git","svn_url":"https://github.com/EPashkin/gir","homepage":"","size":0,"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":"gkoz:master","ref":"master","sha":"ef8f7ee51c28ac67f3881dc4656eb515ff41cb84","user":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"repo":{"id":37824715,"name":"gir","full_name":"gkoz/gir","owner":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkoz/gir","description":"","fork":false,"url":"https://api.github.com/repos/gkoz/gir","forks_url":"https://api.github.com/repos/gkoz/gir/forks","keys_url":"https://api.github.com/repos/gkoz/gir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkoz/gir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkoz/gir/teams","hooks_url":"https://api.github.com/repos/gkoz/gir/hooks","issue_events_url":"https://api.github.com/repos/gkoz/gir/issues/events{/number}","events_url":"https://api.github.com/repos/gkoz/gir/events","assignees_url":"https://api.github.com/repos/gkoz/gir/assignees{/user}","branches_url":"https://api.github.com/repos/gkoz/gir/branches{/branch}","tags_url":"https://api.github.com/repos/gkoz/gir/tags","blobs_url":"https://api.github.com/repos/gkoz/gir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkoz/gir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkoz/gir/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkoz/gir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkoz/gir/statuses/{sha}","languages_url":"https://api.github.com/repos/gkoz/gir/languages","stargazers_url":"https://api.github.com/repos/gkoz/gir/stargazers","contributors_url":"https://api.github.com/repos/gkoz/gir/contributors","subscribers_url":"https://api.github.com/repos/gkoz/gir/subscribers","subscription_url":"https://api.github.com/repos/gkoz/gir/subscription","commits_url":"https://api.github.com/repos/gkoz/gir/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkoz/gir/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkoz/gir/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkoz/gir/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkoz/gir/contents/{+path}","compare_url":"https://api.github.com/repos/gkoz/gir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkoz/gir/merges","archive_url":"https://api.github.com/repos/gkoz/gir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkoz/gir/downloads","issues_url":"https://api.github.com/repos/gkoz/gir/issues{/number}","pulls_url":"https://api.github.com/repos/gkoz/gir/pulls{/number}","milestones_url":"https://api.github.com/repos/gkoz/gir/milestones{/number}","notifications_url":"https://api.github.com/repos/gkoz/gir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkoz/gir/labels{/name}","releases_url":"https://api.github.com/repos/gkoz/gir/releases{/id}","created_at":"2015-06-21T20:29:55Z","updated_at":"2015-06-21T20:33:13Z","pushed_at":"2015-06-23T10:35:50Z","git_url":"git://github.com/gkoz/gir.git","ssh_url":"git@github.com:gkoz/gir.git","clone_url":"https://github.com/gkoz/gir.git","svn_url":"https://github.com/gkoz/gir","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gkoz/gir/pulls/4"},"html":{"href":"https://github.com/gkoz/gir/pull/4"},"issue":{"href":"https://api.github.com/repos/gkoz/gir/issues/4"},"comments":{"href":"https://api.github.com/repos/gkoz/gir/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/gkoz/gir/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/gkoz/gir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gkoz/gir/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/gkoz/gir/statuses/c2dffe732d9558c501f19eeb41ec2afa6f6c2c58"}}}}