{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/1736","repository_url":"https://api.github.com/repos/rust-lang/rfcs","labels_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1736/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1736/comments","events_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1736/events","html_url":"https://github.com/rust-lang/rfcs/pull/1736","id":174486729,"node_id":"MDExOlB1bGxSZXF1ZXN0ODM2MDU2MTg=","number":1736,"title":"RFC: `core::mem::replace_with` for temporarily moving out of ownership.","user":{"login":"ticki","id":13349091,"node_id":"MDQ6VXNlcjEzMzQ5MDkx","avatar_url":"https://avatars2.githubusercontent.com/u/13349091?v=4","gravatar_id":"","url":"https://api.github.com/users/ticki","html_url":"https://github.com/ticki","followers_url":"https://api.github.com/users/ticki/followers","following_url":"https://api.github.com/users/ticki/following{/other_user}","gists_url":"https://api.github.com/users/ticki/gists{/gist_id}","starred_url":"https://api.github.com/users/ticki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticki/subscriptions","organizations_url":"https://api.github.com/users/ticki/orgs","repos_url":"https://api.github.com/users/ticki/repos","events_url":"https://api.github.com/users/ticki/events{/privacy}","received_events_url":"https://api.github.com/users/ticki/received_events","type":"User","site_admin":false},"labels":[{"id":211667901,"node_id":"MDU6TGFiZWwyMTE2Njc5MDE=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/T-libs","name":"T-libs","color":"bfd4f2","default":false},{"id":216585564,"node_id":"MDU6TGFiZWwyMTY1ODU1NjQ=","url":"https://api.github.com/repos/rust-lang/rfcs/labels/final-comment-period","name":"final-comment-period","color":"1e76d9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":143,"created_at":"2016-09-01T10:15:18Z","updated_at":"2018-11-08T22:02:41Z","closed_at":"2017-01-04T18:54:08Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/rust-lang/rfcs/pulls/1736","html_url":"https://github.com/rust-lang/rfcs/pull/1736","diff_url":"https://github.com/rust-lang/rfcs/pull/1736.diff","patch_url":"https://github.com/rust-lang/rfcs/pull/1736.patch"},"body":"This common pattern deserves a place in the standard library.\n\n| [Rendered](https://github.com/ticki/rfcs/blob/replace_with/text/0000-mem-replace-with.md) | [Implementation](https://github.com/rust-lang/rust/pull/36186) |\n| --- | --- |\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rfcs/issues/comments/437172267","html_url":"https://github.com/rust-lang/rfcs/pull/1736#issuecomment-437172267","issue_url":"https://api.github.com/repos/rust-lang/rfcs/issues/1736","id":437172267,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE3MjI2Nw==","user":{"login":"briansmith","id":16816,"node_id":"MDQ6VXNlcjE2ODE2","avatar_url":"https://avatars0.githubusercontent.com/u/16816?v=4","gravatar_id":"","url":"https://api.github.com/users/briansmith","html_url":"https://github.com/briansmith","followers_url":"https://api.github.com/users/briansmith/followers","following_url":"https://api.github.com/users/briansmith/following{/other_user}","gists_url":"https://api.github.com/users/briansmith/gists{/gist_id}","starred_url":"https://api.github.com/users/briansmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briansmith/subscriptions","organizations_url":"https://api.github.com/users/briansmith/orgs","repos_url":"https://api.github.com/users/briansmith/repos","events_url":"https://api.github.com/users/briansmith/events{/privacy}","received_events_url":"https://api.github.com/users/briansmith/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T22:02:41Z","updated_at":"2018-11-08T22:02:41Z","author_association":"NONE","body":"> * the un-suffixed `replace_with()` accepts a closure for the user to produce a `T` in case of panic, rather than `take_mut::take()`'s surprising abort.\r\n\r\nIf/when that closure panics, there would still be a surprising abort, right?"}}
{"actor":{"display_login":"briansmith"}}