{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/34356","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/34356/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/34356/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/34356/events","html_url":"https://github.com/rust-lang/rust/pull/34356","id":161063739,"number":34356,"title":"Document `CStr::as_ptr` dangers.","user":{"login":"matklad","id":1711539,"avatar_url":"https://avatars.githubusercontent.com/u/1711539?v=3","gravatar_id":"","url":"https://api.github.com/users/matklad","html_url":"https://github.com/matklad","followers_url":"https://api.github.com/users/matklad/followers","following_url":"https://api.github.com/users/matklad/following{/other_user}","gists_url":"https://api.github.com/users/matklad/gists{/gist_id}","starred_url":"https://api.github.com/users/matklad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matklad/subscriptions","organizations_url":"https://api.github.com/users/matklad/orgs","repos_url":"https://api.github.com/users/matklad/repos","events_url":"https://api.github.com/users/matklad/events{/privacy}","received_events_url":"https://api.github.com/users/matklad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"steveklabnik","id":27786,"avatar_url":"https://avatars.githubusercontent.com/u/27786?v=3","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},"milestone":null,"comments":5,"created_at":"2016-06-19T08:59:39Z","updated_at":"2016-06-19T16:58:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/34356","html_url":"https://github.com/rust-lang/rust/pull/34356","diff_url":"https://github.com/rust-lang/rust/pull/34356.diff","patch_url":"https://github.com/rust-lang/rust/pull/34356.patch"},"body":"r? @steveklabnik \r\n\r\nHi! I've tried to document `CString::new(\"hello\").unwrap().as_ptr()` footgun. Related [RFC] and the original [discussion].\r\n\r\n\r\n[RFC]: https://github.com/rust-lang/rfcs/pull/1642\r\n[discussion]: https://users.rust-lang.org/t/you-should-stop-telling-people-that-safe-rust-is-always-safe/6094"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/227007974","html_url":"https://github.com/rust-lang/rust/pull/34356#issuecomment-227007974","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/34356","id":227007974,"user":{"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},"created_at":"2016-06-19T16:58:43Z","updated_at":"2016-06-19T16:58:43Z","body":"Ah right, didn't pay attention.\r\n\r\n@bors: r+ rollup"}}
{"actor":{"display_login":"GuillaumeGomez"}}