{"action":"closed","number":48201,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/48201","id":169039234,"html_url":"https://github.com/rust-lang/rust/pull/48201","diff_url":"https://github.com/rust-lang/rust/pull/48201.diff","patch_url":"https://github.com/rust-lang/rust/pull/48201.patch","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/48201","number":48201,"state":"closed","locked":false,"title":"rephrase UnsafeCell doc","user":{"login":"NovemberZulu","id":897004,"avatar_url":"https://avatars1.githubusercontent.com/u/897004?v=4","gravatar_id":"","url":"https://api.github.com/users/NovemberZulu","html_url":"https://github.com/NovemberZulu","followers_url":"https://api.github.com/users/NovemberZulu/followers","following_url":"https://api.github.com/users/NovemberZulu/following{/other_user}","gists_url":"https://api.github.com/users/NovemberZulu/gists{/gist_id}","starred_url":"https://api.github.com/users/NovemberZulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NovemberZulu/subscriptions","organizations_url":"https://api.github.com/users/NovemberZulu/orgs","repos_url":"https://api.github.com/users/NovemberZulu/repos","events_url":"https://api.github.com/users/NovemberZulu/events{/privacy}","received_events_url":"https://api.github.com/users/NovemberZulu/received_events","type":"User","site_admin":false},"body":"As shown by discussions on users.rust-lang.org [[1]], [[2]], UnsafeCell doc is not totally clear. I tried to made the doc univocal regarding what is allowed and what is not. The edits are based on my understanding following [[1]].\r\n\r\n[1]: https://users.rust-lang.org/t/unsafecell-behavior-details/1560\r\n[2]: https://users.rust-lang.org/t/is-there-a-better-way-to-overload-index-indexmut-for-a-rc-refcell/15591/12","created_at":"2018-02-14T07:32:09Z","updated_at":"2018-03-13T02:41:48Z","closed_at":"2018-03-13T02:41:48Z","merged_at":"2018-03-13T02:41:48Z","merge_commit_sha":"55be28367413e01262e4fb72d4af36cee368b65d","assignee":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars2.githubusercontent.com/u/27786?v=4","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},"assignees":[{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars2.githubusercontent.com/u/27786?v=4","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}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":583437191,"url":"https://api.github.com/repos/rust-lang/rust/labels/S-waiting-on-bors","name":"S-waiting-on-bors","color":"d3dddd","default":false},{"id":431251592,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-doc","name":"T-doc","color":"bfd4f2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang/rust/pulls/48201/commits","review_comments_url":"https://api.github.com/repos/rust-lang/rust/pulls/48201/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/48201/comments","statuses_url":"https://api.github.com/repos/rust-lang/rust/statuses/55be28367413e01262e4fb72d4af36cee368b65d","head":{"label":"NovemberZulu:master","ref":"master","sha":"55be28367413e01262e4fb72d4af36cee368b65d","user":{"login":"NovemberZulu","id":897004,"avatar_url":"https://avatars1.githubusercontent.com/u/897004?v=4","gravatar_id":"","url":"https://api.github.com/users/NovemberZulu","html_url":"https://github.com/NovemberZulu","followers_url":"https://api.github.com/users/NovemberZulu/followers","following_url":"https://api.github.com/users/NovemberZulu/following{/other_user}","gists_url":"https://api.github.com/users/NovemberZulu/gists{/gist_id}","starred_url":"https://api.github.com/users/NovemberZulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NovemberZulu/subscriptions","organizations_url":"https://api.github.com/users/NovemberZulu/orgs","repos_url":"https://api.github.com/users/NovemberZulu/repos","events_url":"https://api.github.com/users/NovemberZulu/events{/privacy}","received_events_url":"https://api.github.com/users/NovemberZulu/received_events","type":"User","site_admin":false},"repo":{"id":121406388,"name":"rust","full_name":"NovemberZulu/rust","owner":{"login":"NovemberZulu","id":897004,"avatar_url":"https://avatars1.githubusercontent.com/u/897004?v=4","gravatar_id":"","url":"https://api.github.com/users/NovemberZulu","html_url":"https://github.com/NovemberZulu","followers_url":"https://api.github.com/users/NovemberZulu/followers","following_url":"https://api.github.com/users/NovemberZulu/following{/other_user}","gists_url":"https://api.github.com/users/NovemberZulu/gists{/gist_id}","starred_url":"https://api.github.com/users/NovemberZulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NovemberZulu/subscriptions","organizations_url":"https://api.github.com/users/NovemberZulu/orgs","repos_url":"https://api.github.com/users/NovemberZulu/repos","events_url":"https://api.github.com/users/NovemberZulu/events{/privacy}","received_events_url":"https://api.github.com/users/NovemberZulu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NovemberZulu/rust","description":"A safe, concurrent, practical language.","fork":true,"url":"https://api.github.com/repos/NovemberZulu/rust","forks_url":"https://api.github.com/repos/NovemberZulu/rust/forks","keys_url":"https://api.github.com/repos/NovemberZulu/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NovemberZulu/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NovemberZulu/rust/teams","hooks_url":"https://api.github.com/repos/NovemberZulu/rust/hooks","issue_events_url":"https://api.github.com/repos/NovemberZulu/rust/issues/events{/number}","events_url":"https://api.github.com/repos/NovemberZulu/rust/events","assignees_url":"https://api.github.com/repos/NovemberZulu/rust/assignees{/user}","branches_url":"https://api.github.com/repos/NovemberZulu/rust/branches{/branch}","tags_url":"https://api.github.com/repos/NovemberZulu/rust/tags","blobs_url":"https://api.github.com/repos/NovemberZulu/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NovemberZulu/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NovemberZulu/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/NovemberZulu/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NovemberZulu/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/NovemberZulu/rust/languages","stargazers_url":"https://api.github.com/repos/NovemberZulu/rust/stargazers","contributors_url":"https://api.github.com/repos/NovemberZulu/rust/contributors","subscribers_url":"https://api.github.com/repos/NovemberZulu/rust/subscribers","subscription_url":"https://api.github.com/repos/NovemberZulu/rust/subscription","commits_url":"https://api.github.com/repos/NovemberZulu/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/NovemberZulu/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/NovemberZulu/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/NovemberZulu/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/NovemberZulu/rust/contents/{+path}","compare_url":"https://api.github.com/repos/NovemberZulu/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NovemberZulu/rust/merges","archive_url":"https://api.github.com/repos/NovemberZulu/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NovemberZulu/rust/downloads","issues_url":"https://api.github.com/repos/NovemberZulu/rust/issues{/number}","pulls_url":"https://api.github.com/repos/NovemberZulu/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/NovemberZulu/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/NovemberZulu/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NovemberZulu/rust/labels{/name}","releases_url":"https://api.github.com/repos/NovemberZulu/rust/releases{/id}","deployments_url":"https://api.github.com/repos/NovemberZulu/rust/deployments","created_at":"2018-02-13T16:28:48Z","updated_at":"2018-02-13T16:29:11Z","pushed_at":"2018-03-08T21:26:34Z","git_url":"git://github.com/NovemberZulu/rust.git","ssh_url":"git@github.com:NovemberZulu/rust.git","clone_url":"https://github.com/NovemberZulu/rust.git","svn_url":"https://github.com/NovemberZulu/rust","homepage":"https://www.rust-lang.org","size":347271,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rust-lang:master","ref":"master","sha":"4d2d3fc5dadf894a8ad709a5860a549f2c0b1032","user":{"login":"rust-lang","id":5430905,"avatar_url":"https://avatars1.githubusercontent.com/u/5430905?v=4","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://avatars1.githubusercontent.com/u/5430905?v=4","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":"2018-03-13T02:31:01Z","pushed_at":"2018-03-13T02:41:41Z","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":351424,"stargazers_count":26941,"watchers_count":26941,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4759,"mirror_url":null,"archived":false,"open_issues_count":3513,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":4759,"open_issues":3513,"watchers":26941,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/48201"},"html":{"href":"https://github.com/rust-lang/rust/pull/48201"},"issue":{"href":"https://api.github.com/repos/rust-lang/rust/issues/48201"},"comments":{"href":"https://api.github.com/repos/rust-lang/rust/issues/48201/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang/rust/pulls/48201/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/48201/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang/rust/statuses/55be28367413e01262e4fb72d4af36cee368b65d"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bors","id":3372342,"avatar_url":"https://avatars2.githubusercontent.com/u/3372342?v=4","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":26,"review_comments":6,"maintainer_can_modify":false,"commits":10,"additions":36,"deletions":15,"changed_files":1}}
{"actor":{"display_login":"bors"}}