{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/556","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/556/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/556/events","html_url":"https://github.com/rust-lang/rfcs/pull/556","id":53556505,"number":556,"title":"RFC: Lifetime parameters for unsafe pointer conversions","user":{"login":"mzabaluev","id":1198919,"avatar_url":"https://avatars.githubusercontent.com/u/1198919?v=3","gravatar_id":"","url":"https://api.github.com/users/mzabaluev","html_url":"https://github.com/mzabaluev","followers_url":"https://api.github.com/users/mzabaluev/followers","following_url":"https://api.github.com/users/mzabaluev/following{/other_user}","gists_url":"https://api.github.com/users/mzabaluev/gists{/gist_id}","starred_url":"https://api.github.com/users/mzabaluev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzabaluev/subscriptions","organizations_url":"https://api.github.com/users/mzabaluev/orgs","repos_url":"https://api.github.com/users/mzabaluev/repos","events_url":"https://api.github.com/users/mzabaluev/events{/privacy}","received_events_url":"https://api.github.com/users/mzabaluev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-01-06T20:03:50Z","updated_at":"2015-01-30T17:20:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/556","html_url":"https://github.com/rust-lang/rfcs/pull/556","diff_url":"https://github.com/rust-lang/rfcs/pull/556.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/556.patch"},"body":"Improve the ergonomics of `from_raw_*` functions returning references, also making them safer, by adding an explicit parameter to control the lifetime of the returned reference, in the style of `std::mem::copy_lifetime`.\r\nRemove unnecessary mutability in `copy_mut_lifetime` while we are at it.\r\n\r\n[Rendered](/mzabaluev/rust-rfcs/blob/raw-lifetime/text/0000-raw-lifetime-anchors.md)"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/72236378","html_url":"https://github.com/rust-lang/rfcs/pull/556#issuecomment-72236378","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/556","id":72236378,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T17:20:11Z","updated_at":"2015-01-30T17:20:11Z","body":"I think that actually all changes still fall under the purview of this RFC, going by the title:\r\n\r\n>  RFC: Lifetime parameters for unsafe pointer conversions\r\n\r\nWe're still developing the lifetime parameter conventions! Feel free to just re-word the RFC in-place, I'm totally fine with that! (including the `copy_mut_lifetime` changes)"}}