{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/44080095","id":44080095,"diff_hunk":"@@ -310,13 +310,13 @@ use std::thread;\n from the standard library, and so we need to `use` it.\n \n ```rust,ignore\n-    fn eat(&self) {\n-        println!(\"{} is eating.\", self.name);\n+fn eat(&self) {\n+    println!(\"{} is eating.\", self.name);\n \n-        thread::sleep_ms(1000);\n+    thread::sleep_ms(1000);\n \n-        println!(\"{} is done eating.\", self.name);\n-    }\n+    println!(\"{} is done eating.\", self.name);\n+}\n ```","path":"src/doc/trpl/dining-philosophers.md","position":36,"original_position":36,"commit_id":"87438c5246f7e640926dfe5a7c8ccb26081e5e84","original_commit_id":"87438c5246f7e640926dfe5a7c8ccb26081e5e84","user":{"login":"tshepang","id":588486,"avatar_url":"https://avatars.githubusercontent.com/u/588486?v=3","gravatar_id":"","url":"https://api.github.com/users/tshepang","html_url":"https://github.com/tshepang","followers_url":"https://api.github.com/users/tshepang/followers","following_url":"https://api.github.com/users/tshepang/following{/other_user}","gists_url":"https://api.github.com/users/tshepang/gists{/gist_id}","starred_url":"https://api.github.com/users/tshepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshepang/subscriptions","organizations_url":"https://api.github.com/users/tshepang/orgs","repos_url":"https://api.github.com/users/tshepang/repos","events_url":"https://api.github.com/users/tshepang/events{/privacy}","received_events_url":"https://api.github.com/users/tshepang/received_events","type":"User","site_admin":false},"body":"Looking again, it's all inconsistent. What's the win with keeping indentation? What should the convention be?","created_at":"2015-11-05T22:35:58Z","updated_at":"2015-11-05T22:35:58Z","html_url":"https://github.com/rust-lang/rust/pull/29651#discussion_r44080095","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/29651","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/44080095"},"html":{"href":"https://github.com/rust-lang/rust/pull/29651#discussion_r44080095"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29651"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/29651","id":49886728,"html_url":"https://github.com/rust-lang/rust/pull/29651","diff_url":"https://github.com/rust-lang/rust/pull/29651.diff","patch_url":"https://github.com/rust-lang/rust/pull/29651.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/29651","number":29651,"state":"open","locked":false,"title":"book: miscellaneous improvements to \"dining philosophers\" example","user":{"login":"tshepang","id":588486,"avatar_url":"https://avatars.githubusercontent.com/u/588486?v=3","gravatar_id":"","url":"https://api.github.com/users/tshepang","html_url":"https://github.com/tshepang","followers_url":"https://api.github.com/users/tshepang/followers","following_url":"https://api.github.com/users/tshepang/following{/other_user}","gists_url":"https://api.github.com/users/tshepang/gists{/gist_id}","starred_url":"https://api.github.com/users/tshepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshepang/subscriptions","organizations_url":"https://api.github.com/users/tshepang/orgs","repos_url":"https://api.github.com/users/tshepang/repos","events_url":"https://api.github.com/users/tshepang/events{/privacy}","received_events_url":"https://api.github.com/users/tshepang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T21:57:26Z","updated_at":"2015-11-05T22:35:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86e4cbe2c8839b61f717e535e1abe48eb931921e","assignee":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","gravatar_id":"","url":"https://api.github.com/users/steveklabnik","html_url":"https://github.com/steveklabnik","followers_url":"https://api.github.com/users/steveklabnik/followers","following_url":"https://api.github.com/users/steveklabnik/following{/other_user}","gists_url":"https://api.github.com/users/steveklabnik/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklabnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklabnik/subscriptions","organizations_url":"https://api.github.com/users/steveklabnik/orgs","repos_url":"https://api.github.com/users/steveklabnik/repos","events_url":"https://api.github.com/users/steveklabnik/events{/privacy}","received_events_url":"https://api.github.com/users/steveklabnik/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/29651/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/29651/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/29651/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/87438c5246f7e640926dfe5a7c8ccb26081e5e84","head":{"label":"tshepang:misc","ref":"misc","sha":"87438c5246f7e640926dfe5a7c8ccb26081e5e84","user":{"login":"tshepang","id":588486,"avatar_url":"https://avatars.githubusercontent.com/u/588486?v=3","gravatar_id":"","url":"https://api.github.com/users/tshepang","html_url":"https://github.com/tshepang","followers_url":"https://api.github.com/users/tshepang/followers","following_url":"https://api.github.com/users/tshepang/following{/other_user}","gists_url":"https://api.github.com/users/tshepang/gists{/gist_id}","starred_url":"https://api.github.com/users/tshepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshepang/subscriptions","organizations_url":"https://api.github.com/users/tshepang/orgs","repos_url":"https://api.github.com/users/tshepang/repos","events_url":"https://api.github.com/users/tshepang/events{/privacy}","received_events_url":"https://api.github.com/users/tshepang/received_events","type":"User","site_admin":false},"repo":{"id":22358250,"name":"rust","full_name":"tshepang/rust","owner":{"login":"tshepang","id":588486,"avatar_url":"https://avatars.githubusercontent.com/u/588486?v=3","gravatar_id":"","url":"https://api.github.com/users/tshepang","html_url":"https://github.com/tshepang","followers_url":"https://api.github.com/users/tshepang/followers","following_url":"https://api.github.com/users/tshepang/following{/other_user}","gists_url":"https://api.github.com/users/tshepang/gists{/gist_id}","starred_url":"https://api.github.com/users/tshepang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshepang/subscriptions","organizations_url":"https://api.github.com/users/tshepang/orgs","repos_url":"https://api.github.com/users/tshepang/repos","events_url":"https://api.github.com/users/tshepang/events{/privacy}","received_events_url":"https://api.github.com/users/tshepang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tshepang/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/tshepang/rust","forks_url":"https://api.github.com/repos/tshepang/rust/forks","keys_url":"https://api.github.com/repos/tshepang/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tshepang/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tshepang/rust/teams","hooks_url":"https://api.github.com/repos/tshepang/rust/hooks","issue_events_url":"https://api.github.com/repos/tshepang/rust/issues/events{/number}","events_url":"https://api.github.com/repos/tshepang/rust/events","assignees_url":"https://api.github.com/repos/tshepang/rust/assignees{/user}","branches_url":"https://api.github.com/repos/tshepang/rust/branches{/branch}","tags_url":"https://api.github.com/repos/tshepang/rust/tags","blobs_url":"https://api.github.com/repos/tshepang/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tshepang/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tshepang/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/tshepang/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tshepang/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/tshepang/rust/languages","stargazers_url":"https://api.github.com/repos/tshepang/rust/stargazers","contributors_url":"https://api.github.com/repos/tshepang/rust/contributors","subscribers_url":"https://api.github.com/repos/tshepang/rust/subscribers","subscription_url":"https://api.github.com/repos/tshepang/rust/subscription","commits_url":"https://api.github.com/repos/tshepang/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/tshepang/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/tshepang/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/tshepang/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/tshepang/rust/contents/{+path}","compare_url":"https://api.github.com/repos/tshepang/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tshepang/rust/merges","archive_url":"https://api.github.com/repos/tshepang/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tshepang/rust/downloads","issues_url":"https://api.github.com/repos/tshepang/rust/issues{/number}","pulls_url":"https://api.github.com/repos/tshepang/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/tshepang/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/tshepang/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tshepang/rust/labels{/name}","releases_url":"https://api.github.com/repos/tshepang/rust/releases{/id}","created_at":"2014-07-28T21:16:58Z","updated_at":"2014-08-24T15:22:42Z","pushed_at":"2015-11-05T21:57:18Z","git_url":"git://github.com/tshepang/rust.git","ssh_url":"git@github.com:tshepang/rust.git","clone_url":"https://github.com/tshepang/rust.git","svn_url":"https://github.com/tshepang/rust","homepage":"http://www.rust-lang.org","size":327106,"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":"rust-lang:master","ref":"master","sha":"96c95f160fd23c0bb815cefc9f2228d677b7f34a","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":"2015-11-05T17:18:49Z","pushed_at":"2015-11-05T22:22:05Z","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":705679,"stargazers_count":14095,"watchers_count":14095,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2745,"mirror_url":null,"open_issues_count":2320,"forks":2745,"open_issues":2320,"watchers":14095,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29651"},"html":{"href":"https://github.com/rust-lang/rust/pull/29651"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/29651"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/29651/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/29651/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/29651/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/87438c5246f7e640926dfe5a7c8ccb26081e5e84"}}}}