{"action":"closed","number":37438,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/37438","id":91301316,"html_url":"https://github.com/rust-lang/rust/pull/37438","diff_url":"https://github.com/rust-lang/rust/pull/37438.diff","patch_url":"https://github.com/rust-lang/rust/pull/37438.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/37438","number":37438,"state":"closed","locked":false,"title":"improve docs for Index and IndexMut","user":{"login":"Cobrand","id":8882127,"avatar_url":"https://avatars.githubusercontent.com/u/8882127?v=3","gravatar_id":"","url":"https://api.github.com/users/Cobrand","html_url":"https://github.com/Cobrand","followers_url":"https://api.github.com/users/Cobrand/followers","following_url":"https://api.github.com/users/Cobrand/following{/other_user}","gists_url":"https://api.github.com/users/Cobrand/gists{/gist_id}","starred_url":"https://api.github.com/users/Cobrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cobrand/subscriptions","organizations_url":"https://api.github.com/users/Cobrand/orgs","repos_url":"https://api.github.com/users/Cobrand/repos","events_url":"https://api.github.com/users/Cobrand/events{/privacy}","received_events_url":"https://api.github.com/users/Cobrand/received_events","type":"User","site_admin":false},"body":"This mainly changes the boring example of Foo/Bar of `IndexMut` into a better one.\n\nAlso added explanations about syntactic sugar for `v[index]`.\n\nCloses #36329\n","created_at":"2016-10-27T23:51:19Z","updated_at":"2016-10-31T17:41:09Z","closed_at":"2016-10-31T17:41:09Z","merged_at":"2016-10-31T17:41:09Z","merge_commit_sha":"6768edde788430c5277aad6b5165df8eaaedf3a2","assignee":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"assignees":[{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/37438/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/37438/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/37438/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/6768edde788430c5277aad6b5165df8eaaedf3a2","head":{"label":"Cobrand:index_doc","ref":"index_doc","sha":"6768edde788430c5277aad6b5165df8eaaedf3a2","user":{"login":"Cobrand","id":8882127,"avatar_url":"https://avatars.githubusercontent.com/u/8882127?v=3","gravatar_id":"","url":"https://api.github.com/users/Cobrand","html_url":"https://github.com/Cobrand","followers_url":"https://api.github.com/users/Cobrand/followers","following_url":"https://api.github.com/users/Cobrand/following{/other_user}","gists_url":"https://api.github.com/users/Cobrand/gists{/gist_id}","starred_url":"https://api.github.com/users/Cobrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cobrand/subscriptions","organizations_url":"https://api.github.com/users/Cobrand/orgs","repos_url":"https://api.github.com/users/Cobrand/repos","events_url":"https://api.github.com/users/Cobrand/events{/privacy}","received_events_url":"https://api.github.com/users/Cobrand/received_events","type":"User","site_admin":false},"repo":{"id":66885519,"name":"rust","full_name":"Cobrand/rust","owner":{"login":"Cobrand","id":8882127,"avatar_url":"https://avatars.githubusercontent.com/u/8882127?v=3","gravatar_id":"","url":"https://api.github.com/users/Cobrand","html_url":"https://github.com/Cobrand","followers_url":"https://api.github.com/users/Cobrand/followers","following_url":"https://api.github.com/users/Cobrand/following{/other_user}","gists_url":"https://api.github.com/users/Cobrand/gists{/gist_id}","starred_url":"https://api.github.com/users/Cobrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cobrand/subscriptions","organizations_url":"https://api.github.com/users/Cobrand/orgs","repos_url":"https://api.github.com/users/Cobrand/repos","events_url":"https://api.github.com/users/Cobrand/events{/privacy}","received_events_url":"https://api.github.com/users/Cobrand/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Cobrand/rust","description":"A safe, concurrent, practical language.","fork":true,"url":"https://api.github.com/repos/Cobrand/rust","forks_url":"https://api.github.com/repos/Cobrand/rust/forks","keys_url":"https://api.github.com/repos/Cobrand/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cobrand/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cobrand/rust/teams","hooks_url":"https://api.github.com/repos/Cobrand/rust/hooks","issue_events_url":"https://api.github.com/repos/Cobrand/rust/issues/events{/number}","events_url":"https://api.github.com/repos/Cobrand/rust/events","assignees_url":"https://api.github.com/repos/Cobrand/rust/assignees{/user}","branches_url":"https://api.github.com/repos/Cobrand/rust/branches{/branch}","tags_url":"https://api.github.com/repos/Cobrand/rust/tags","blobs_url":"https://api.github.com/repos/Cobrand/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cobrand/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cobrand/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cobrand/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cobrand/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/Cobrand/rust/languages","stargazers_url":"https://api.github.com/repos/Cobrand/rust/stargazers","contributors_url":"https://api.github.com/repos/Cobrand/rust/contributors","subscribers_url":"https://api.github.com/repos/Cobrand/rust/subscribers","subscription_url":"https://api.github.com/repos/Cobrand/rust/subscription","commits_url":"https://api.github.com/repos/Cobrand/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cobrand/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cobrand/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cobrand/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cobrand/rust/contents/{+path}","compare_url":"https://api.github.com/repos/Cobrand/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cobrand/rust/merges","archive_url":"https://api.github.com/repos/Cobrand/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cobrand/rust/downloads","issues_url":"https://api.github.com/repos/Cobrand/rust/issues{/number}","pulls_url":"https://api.github.com/repos/Cobrand/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/Cobrand/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/Cobrand/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cobrand/rust/labels{/name}","releases_url":"https://api.github.com/repos/Cobrand/rust/releases{/id}","deployments_url":"https://api.github.com/repos/Cobrand/rust/deployments","created_at":"2016-08-29T22:33:40Z","updated_at":"2016-08-29T22:33:59Z","pushed_at":"2016-10-28T15:19:50Z","git_url":"git://github.com/Cobrand/rust.git","ssh_url":"git@github.com:Cobrand/rust.git","clone_url":"https://github.com/Cobrand/rust.git","svn_url":"https://github.com/Cobrand/rust","homepage":"https://www.rust-lang.org","size":306628,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"rust-lang:master","ref":"master","sha":"9d3caecdd7f16137dbba14178a3e54d2a4113e07","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}","deployments_url":"https://api.github.com/repos/rust-lang/rust/deployments","created_at":"2010-06-16T20:39:03Z","updated_at":"2016-10-31T17:32:31Z","pushed_at":"2016-10-31T17:40:58Z","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":"https://www.rust-lang.org","size":522390,"stargazers_count":18853,"watchers_count":18853,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3627,"mirror_url":null,"open_issues_count":2918,"forks":3627,"open_issues":2918,"watchers":18853,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/37438"},"html":{"href":"https://github.com/rust-lang/rust/pull/37438"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/37438"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/37438/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/37438/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/37438/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/6768edde788430c5277aad6b5165df8eaaedf3a2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bors","id":3372342,"avatar_url":"https://avatars.githubusercontent.com/u/3372342?v=3","gravatar_id":"","url":"https://api.github.com/users/bors","html_url":"https://github.com/bors","followers_url":"https://api.github.com/users/bors/followers","following_url":"https://api.github.com/users/bors/following{/other_user}","gists_url":"https://api.github.com/users/bors/gists{/gist_id}","starred_url":"https://api.github.com/users/bors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors/subscriptions","organizations_url":"https://api.github.com/users/bors/orgs","repos_url":"https://api.github.com/users/bors/repos","events_url":"https://api.github.com/users/bors/events{/privacy}","received_events_url":"https://api.github.com/users/bors/received_events","type":"User","site_admin":false},"comments":5,"review_comments":15,"commits":1,"additions":67,"deletions":18,"changed_files":1}}
{"actor":{"display_login":"bors"}}