{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/comments/93817251","pull_request_review_id":14353611,"id":93817251,"diff_hunk":"@@ -1232,9 +1232,8 @@ impl<T> VecDeque<T> {\n         self.pop_front()\n     }\n \n-    /// Inserts an element at `index` within the `VecDeque`. Whichever\n-    /// end is closer to the insertion point will be moved to make room,\n-    /// and all the affected elements will be moved to new positions.\n+    /// Inserts an element within the `VecDeque` at index `index`. All elements previously with\n+    /// indices greater than or equal to `index` will have their indices incremented by one.","path":"src/libcollections/vec_deque.rs","position":8,"original_position":8,"commit_id":"1f6b0b5f468b7b94296f7bf705530d0e2ae3aedf","original_commit_id":"1f6b0b5f468b7b94296f7bf705530d0e2ae3aedf","user":{"login":"Mark-Simulacrum","id":5047365,"avatar_url":"https://avatars.githubusercontent.com/u/5047365?v=3","gravatar_id":"","url":"https://api.github.com/users/Mark-Simulacrum","html_url":"https://github.com/Mark-Simulacrum","followers_url":"https://api.github.com/users/Mark-Simulacrum/followers","following_url":"https://api.github.com/users/Mark-Simulacrum/following{/other_user}","gists_url":"https://api.github.com/users/Mark-Simulacrum/gists{/gist_id}","starred_url":"https://api.github.com/users/Mark-Simulacrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mark-Simulacrum/subscriptions","organizations_url":"https://api.github.com/users/Mark-Simulacrum/orgs","repos_url":"https://api.github.com/users/Mark-Simulacrum/repos","events_url":"https://api.github.com/users/Mark-Simulacrum/events{/privacy}","received_events_url":"https://api.github.com/users/Mark-Simulacrum/received_events","type":"User","site_admin":false},"body":"Perhaps \"Inserts an element at position index within the vector, incrementing all indices after `index` by one.\"\r\n\r\nThat avoids the problem with somewhat implying the underlying memory operations.","created_at":"2016-12-24T13:43:37Z","updated_at":"2016-12-24T13:43:37Z","html_url":"https://github.com/rust-lang/rust/pull/38581#discussion_r93817251","pull_request_url":"https://api.github.com/repos/rust-lang/rust/pulls/38581","_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/comments/93817251"},"html":{"href":"https://github.com/rust-lang/rust/pull/38581#discussion_r93817251"},"pull_request":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/38581"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/38581","id":99278624,"html_url":"https://github.com/rust-lang/rust/pull/38581","diff_url":"https://github.com/rust-lang/rust/pull/38581.diff","patch_url":"https://github.com/rust-lang/rust/pull/38581.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/38581","number":38581,"state":"open","locked":false,"title":"Clarify behavior of `VecDequeue::insert`.","user":{"login":"frewsxcv","id":416575,"avatar_url":"https://avatars.githubusercontent.com/u/416575?v=3","gravatar_id":"","url":"https://api.github.com/users/frewsxcv","html_url":"https://github.com/frewsxcv","followers_url":"https://api.github.com/users/frewsxcv/followers","following_url":"https://api.github.com/users/frewsxcv/following{/other_user}","gists_url":"https://api.github.com/users/frewsxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/frewsxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frewsxcv/subscriptions","organizations_url":"https://api.github.com/users/frewsxcv/orgs","repos_url":"https://api.github.com/users/frewsxcv/repos","events_url":"https://api.github.com/users/frewsxcv/events{/privacy}","received_events_url":"https://api.github.com/users/frewsxcv/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/rust-lang/rust/issues/37046.","created_at":"2016-12-23T20:20:42Z","updated_at":"2016-12-24T13:43:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a0f31ea104e0d8ff3b2b1186987d666de54a573","assignee":{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false},"assignees":[{"login":"brson","id":147214,"avatar_url":"https://avatars.githubusercontent.com/u/147214?v=3","gravatar_id":"","url":"https://api.github.com/users/brson","html_url":"https://github.com/brson","followers_url":"https://api.github.com/users/brson/followers","following_url":"https://api.github.com/users/brson/following{/other_user}","gists_url":"https://api.github.com/users/brson/gists{/gist_id}","starred_url":"https://api.github.com/users/brson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brson/subscriptions","organizations_url":"https://api.github.com/users/brson/orgs","repos_url":"https://api.github.com/users/brson/repos","events_url":"https://api.github.com/users/brson/events{/privacy}","received_events_url":"https://api.github.com/users/brson/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/38581/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/38581/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/38581/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/1f6b0b5f468b7b94296f7bf705530d0e2ae3aedf","head":{"label":"frewsxcv:vecdequeue-insert","ref":"vecdequeue-insert","sha":"1f6b0b5f468b7b94296f7bf705530d0e2ae3aedf","user":{"login":"frewsxcv","id":416575,"avatar_url":"https://avatars.githubusercontent.com/u/416575?v=3","gravatar_id":"","url":"https://api.github.com/users/frewsxcv","html_url":"https://github.com/frewsxcv","followers_url":"https://api.github.com/users/frewsxcv/followers","following_url":"https://api.github.com/users/frewsxcv/following{/other_user}","gists_url":"https://api.github.com/users/frewsxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/frewsxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frewsxcv/subscriptions","organizations_url":"https://api.github.com/users/frewsxcv/orgs","repos_url":"https://api.github.com/users/frewsxcv/repos","events_url":"https://api.github.com/users/frewsxcv/events{/privacy}","received_events_url":"https://api.github.com/users/frewsxcv/received_events","type":"User","site_admin":false},"repo":{"id":9874429,"name":"rust","full_name":"frewsxcv/rust","owner":{"login":"frewsxcv","id":416575,"avatar_url":"https://avatars.githubusercontent.com/u/416575?v=3","gravatar_id":"","url":"https://api.github.com/users/frewsxcv","html_url":"https://github.com/frewsxcv","followers_url":"https://api.github.com/users/frewsxcv/followers","following_url":"https://api.github.com/users/frewsxcv/following{/other_user}","gists_url":"https://api.github.com/users/frewsxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/frewsxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frewsxcv/subscriptions","organizations_url":"https://api.github.com/users/frewsxcv/orgs","repos_url":"https://api.github.com/users/frewsxcv/repos","events_url":"https://api.github.com/users/frewsxcv/events{/privacy}","received_events_url":"https://api.github.com/users/frewsxcv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frewsxcv/rust","description":"a safe, concurrent, practical language","fork":true,"url":"https://api.github.com/repos/frewsxcv/rust","forks_url":"https://api.github.com/repos/frewsxcv/rust/forks","keys_url":"https://api.github.com/repos/frewsxcv/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frewsxcv/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frewsxcv/rust/teams","hooks_url":"https://api.github.com/repos/frewsxcv/rust/hooks","issue_events_url":"https://api.github.com/repos/frewsxcv/rust/issues/events{/number}","events_url":"https://api.github.com/repos/frewsxcv/rust/events","assignees_url":"https://api.github.com/repos/frewsxcv/rust/assignees{/user}","branches_url":"https://api.github.com/repos/frewsxcv/rust/branches{/branch}","tags_url":"https://api.github.com/repos/frewsxcv/rust/tags","blobs_url":"https://api.github.com/repos/frewsxcv/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frewsxcv/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frewsxcv/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/frewsxcv/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frewsxcv/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/frewsxcv/rust/languages","stargazers_url":"https://api.github.com/repos/frewsxcv/rust/stargazers","contributors_url":"https://api.github.com/repos/frewsxcv/rust/contributors","subscribers_url":"https://api.github.com/repos/frewsxcv/rust/subscribers","subscription_url":"https://api.github.com/repos/frewsxcv/rust/subscription","commits_url":"https://api.github.com/repos/frewsxcv/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/frewsxcv/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/frewsxcv/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/frewsxcv/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/frewsxcv/rust/contents/{+path}","compare_url":"https://api.github.com/repos/frewsxcv/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frewsxcv/rust/merges","archive_url":"https://api.github.com/repos/frewsxcv/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frewsxcv/rust/downloads","issues_url":"https://api.github.com/repos/frewsxcv/rust/issues{/number}","pulls_url":"https://api.github.com/repos/frewsxcv/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/frewsxcv/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/frewsxcv/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frewsxcv/rust/labels{/name}","releases_url":"https://api.github.com/repos/frewsxcv/rust/releases{/id}","deployments_url":"https://api.github.com/repos/frewsxcv/rust/deployments","created_at":"2013-05-05T20:54:13Z","updated_at":"2015-03-11T02:40:43Z","pushed_at":"2016-12-23T20:27:38Z","git_url":"git://github.com/frewsxcv/rust.git","ssh_url":"git@github.com:frewsxcv/rust.git","clone_url":"https://github.com/frewsxcv/rust.git","svn_url":"https://github.com/frewsxcv/rust","homepage":"http://www.rust-lang.org","size":316054,"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":"00b4019f28f3e7f9ae3990ed871cb4917fd9e659","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-12-24T13:24:11Z","pushed_at":"2016-12-24T13:28:32Z","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":317639,"stargazers_count":19503,"watchers_count":19503,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3733,"mirror_url":null,"open_issues_count":3021,"forks":3733,"open_issues":3021,"watchers":19503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/38581"},"html":{"href":"https://github.com/rust-lang/rust/pull/38581"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/38581"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/38581/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/38581/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/38581/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/1f6b0b5f468b7b94296f7bf705530d0e2ae3aedf"}}}}
{"actor":{"display_login":"Mark-Simulacrum"}}